
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
  
<!-- Mirrored from werkzeug.palletsprojects.com/en/1.0.x/changes/ by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 15 Sep 2020 06:37:09 GMT -->
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Changelog &#8212; Werkzeug Documentation (1.0.x)</title>
    <link rel="stylesheet" href="../_static/werkzeug.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../../../../assets.readthedocs.org/static/css/badge_only.css" />
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/language_data.js"></script>
    <script async="async" type="text/javascript" src="../../../../assets.readthedocs.org/static/javascript/readthedocs-doc-embed.js"></script>
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="index" title="Index" href="../genindex/index.html" />
    <link rel="search" title="Search" href="../search/index.html" />
    <link rel="prev" title="Dealing with Request Data" href="../request_data/index.html" />
    <link rel="canonical" href="index.html">
  <script>DOCUMENTATION_OPTIONS.URL_ROOT = '../index.html';</script>
   
  
<!-- RTD Extra Head -->

<!-- 
Always link to the latest version, as canonical.
http://docs.readthedocs.org/en/latest/canonical.html
-->
<link rel="canonical" href="index.html" />

<link rel="stylesheet" href="../../../../assets.readthedocs.org/static/css/readthedocs-doc-embed.css" type="text/css" />

<script type="text/javascript" src="../_static/readthedocs-data.js"></script>

<!-- Add page-specific data, which must exist in the page js, not global -->
<script type="text/javascript">
READTHEDOCS_DATA['page'] = "changes"
READTHEDOCS_DATA['source_suffix'] = ".rst"
</script>

<script type="text/javascript" src="../../../../assets.readthedocs.org/static/javascript/readthedocs-analytics.js" async="async"></script>

<!-- end RTD <extrahead> -->
</head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex/index.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex/index.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="../request_data/index.html" title="Dealing with Request Data"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">Werkzeug Documentation (1.0.x)</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="changelog">
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
<div class="section" id="version-1-0-2">
<h2>Version 1.0.2<a class="headerlink" href="#version-1-0-2" title="Permalink to this headline">¶</a></h2>
<p>Unreleased</p>
<ul class="simple">
<li>Add new “edg” identifier for Edge in UserAgentPreparser.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1797">#1797</a></li>
<li>Upgrade the debugger to jQuery 3.5.1. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1802">#1802</a></li>
</ul>
</div>
<div class="section" id="version-1-0-1">
<h2>Version 1.0.1<a class="headerlink" href="#version-1-0-1" title="Permalink to this headline">¶</a></h2>
<p>Released 2020-03-31</p>
<ul class="simple">
<li>Make the argument to <code class="docutils literal notranslate"><span class="pre">RequestRedirect.get_response</span></code> optional.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1718">#1718</a></li>
<li>Only allow a single access control allow origin value. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1723">#1723</a></li>
<li>Fix crash when trying to parse a non-existent Content Security
Policy header. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1731">#1731</a></li>
<li><code class="docutils literal notranslate"><span class="pre">http_date</span></code> zero fills years &lt; 1000 to always output four digits.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1739">#1739</a></li>
<li>Fix missing local variables in interactive debugger console.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1746">#1746</a></li>
<li>Fix passing file-like objects like <code class="docutils literal notranslate"><span class="pre">io.BytesIO</span></code> to
<code class="docutils literal notranslate"><span class="pre">FileStorage.save</span></code>. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1733">#1733</a></li>
</ul>
</div>
<div class="section" id="version-1-0-0">
<h2>Version 1.0.0<a class="headerlink" href="#version-1-0-0" title="Permalink to this headline">¶</a></h2>
<p>Released 2020-02-06</p>
<ul class="simple">
<li>Drop support for Python 3.4. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1478">#1478</a>)</li>
<li>Remove code that issued deprecation warnings in version 0.15.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1477">#1477</a>)</li>
<li>Remove most top-level attributes provided by the <code class="docutils literal notranslate"><span class="pre">werkzeug</span></code>
module in favor of direct imports. For example, instead of
<code class="docutils literal notranslate"><span class="pre">import</span> <span class="pre">werkzeug;</span> <span class="pre">werkzeug.url_quote</span></code>, do
<code class="docutils literal notranslate"><span class="pre">from</span> <span class="pre">werkzeug.urls</span> <span class="pre">import</span> <span class="pre">url_quote</span></code>. Install version 0.16 first
to see deprecation warnings while upgrading. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/2">#2</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1640">#1640</a></li>
<li>Added <code class="docutils literal notranslate"><span class="pre">utils.invalidate_cached_property()</span></code> to invalidate cached
properties. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1474">#1474</a>)</li>
<li>Directive keys for the <code class="docutils literal notranslate"><span class="pre">Set-Cookie</span></code> response header are not
ignored when parsing the <code class="docutils literal notranslate"><span class="pre">Cookie</span></code> request header. This allows
cookies with names such as “expires” and “version”. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1495">#1495</a>)</li>
<li>Request cookies are parsed into a <code class="docutils literal notranslate"><span class="pre">MultiDict</span></code> to capture all
values for cookies with the same key. <code class="docutils literal notranslate"><span class="pre">cookies[key]</span></code> returns the
first value rather than the last. Use <code class="docutils literal notranslate"><span class="pre">cookies.getlist(key)</span></code> to
get all values. <code class="docutils literal notranslate"><span class="pre">parse_cookie</span></code> also defaults to a <code class="docutils literal notranslate"><span class="pre">MultiDict</span></code>.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1562">#1562</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1458">#1458</a></li>
<li>Add <code class="docutils literal notranslate"><span class="pre">charset=utf-8</span></code> to an HTTP exception response’s
<code class="docutils literal notranslate"><span class="pre">CONTENT_TYPE</span></code> header. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1526">#1526</a>)</li>
<li>The interactive debugger handles outer variables in nested scopes
such as lambdas and comprehensions. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/913">#913</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1037">#1037</a>,
<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1532">#1532</a></li>
<li>The user agent for Opera 60 on Mac is correctly reported as
“opera” instead of “chrome”. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1556">#1556</a></li>
<li>The platform for Crosswalk on Android is correctly reported as
“android” instead of “chromeos”. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1572">#1572</a>)</li>
<li>Issue a warning when the current server name does not match the
configured server name. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/760">#760</a></li>
<li>A configured server name with the default port for a scheme will
match the current server name without the port if the current scheme
matches. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1584">#1584</a></li>
<li><a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.InternalServerError" title="werkzeug.exceptions.InternalServerError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">InternalServerError</span></code></a> has a <code class="docutils literal notranslate"><span class="pre">original_exception</span></code>
attribute that frameworks can use to track the original cause of the
error. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1590">#1590</a></li>
<li>Headers are tested for equality independent of the header key case,
such that <code class="docutils literal notranslate"><span class="pre">X-Foo</span></code> is the same as <code class="docutils literal notranslate"><span class="pre">x-foo</span></code>. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1605">#1605</a></li>
<li><a class="reference internal" href="../http/index.html#werkzeug.http.dump_cookie" title="werkzeug.http.dump_cookie"><code class="xref py py-meth docutils literal notranslate"><span class="pre">http.dump_cookie()</span></code></a> accepts <code class="docutils literal notranslate"><span class="pre">'None'</span></code> as a value for
<code class="docutils literal notranslate"><span class="pre">samesite</span></code>. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1549">#1549</a></li>
<li><code class="xref py py-meth docutils literal notranslate"><span class="pre">set_cookie()</span></code> accepts a <code class="docutils literal notranslate"><span class="pre">samesite</span></code> argument.
<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1705">#1705</a></li>
<li>Support the Content Security Policy header through the
<cite>Response.content_security_policy</cite> data structure. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1617">#1617</a></li>
<li><code class="docutils literal notranslate"><span class="pre">LanguageAccept</span></code> will fall back to matching “en” for “en-US” or
“en-US” for “en” to better support clients or translations that
only match at the primary language tag. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/450">#450</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1507">#1507</a></li>
<li><code class="docutils literal notranslate"><span class="pre">MIMEAccept</span></code> uses MIME parameters for specificity when matching.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/458">#458</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1574">#1574</a></li>
<li>If the development server is started with an <code class="docutils literal notranslate"><span class="pre">SSLContext</span></code>
configured to verify client certificates, the certificate in PEM
format will be available as <code class="docutils literal notranslate"><span class="pre">environ[&quot;SSL_CLIENT_CERT&quot;]</span></code>.
<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1469">#1469</a></li>
<li><code class="docutils literal notranslate"><span class="pre">is_resource_modified</span></code> will run for methods other than <code class="docutils literal notranslate"><span class="pre">GET</span></code> and
<code class="docutils literal notranslate"><span class="pre">HEAD</span></code>, rather than always returning <code class="docutils literal notranslate"><span class="pre">False</span></code>. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/409">#409</a></li>
<li><code class="docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code> returns 404 rather than 500 when trying to
access a directory instead of a file with the package loader. The
dependency on setuptools and pkg_resources is removed.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1599">#1599</a></li>
<li>Add a <code class="docutils literal notranslate"><span class="pre">response.cache_control.immutable</span></code> flag. Keep in mind that
browser support for this <code class="docutils literal notranslate"><span class="pre">Cache-Control</span></code> header option is still
experimental and may not be implemented. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1185">#1185</a></li>
<li>Optional request log highlighting with the development server is
handled by Click instead of termcolor. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1235">#1235</a></li>
<li>Optional ad-hoc TLS support for the development server is handled
by cryptography instead of pyOpenSSL. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1555">#1555</a></li>
<li><code class="docutils literal notranslate"><span class="pre">FileStorage.save()</span></code> supports <code class="docutils literal notranslate"><span class="pre">pathlib</span></code> and <span class="target" id="index-0"></span><a class="pep reference external" href="https://www.python.org/dev/peps/pep-0519"><strong>PEP 519</strong></a>
<code class="docutils literal notranslate"><span class="pre">PathLike</span></code> objects. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1653">#1653</a></li>
<li>The debugger security pin is unique in containers managed by Podman.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1661">#1661</a></li>
<li>Building a URL when <code class="docutils literal notranslate"><span class="pre">host_matching</span></code> is enabled takes into account
the current host when there are duplicate endpoints with different
hosts. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/488">#488</a></li>
<li>The <code class="docutils literal notranslate"><span class="pre">429</span> <span class="pre">TooManyRequests</span></code> and <code class="docutils literal notranslate"><span class="pre">503</span> <span class="pre">ServiceUnavailable</span></code> HTTP
exceptions takes a <code class="docutils literal notranslate"><span class="pre">retry_after</span></code> parameter to set the
<code class="docutils literal notranslate"><span class="pre">Retry-After</span></code> header. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1657">#1657</a></li>
<li><code class="docutils literal notranslate"><span class="pre">Map</span></code> and <code class="docutils literal notranslate"><span class="pre">Rule</span></code> have a <code class="docutils literal notranslate"><span class="pre">merge_slashes</span></code> option to collapse
multiple slashes into one, similar to how many HTTP servers behave.
This is enabled by default. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1286">#1286</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1694">#1694</a></li>
<li>Add HTTP 103, 208, 306, 425, 506, 508, and 511 to the list of status
codes. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1678">#1678</a></li>
<li>Add <code class="docutils literal notranslate"><span class="pre">update</span></code>, <code class="docutils literal notranslate"><span class="pre">setlist</span></code>, and <code class="docutils literal notranslate"><span class="pre">setlistdefault</span></code> methods to the
<code class="docutils literal notranslate"><span class="pre">Headers</span></code> data structure. <code class="docutils literal notranslate"><span class="pre">extend</span></code> method can take <code class="docutils literal notranslate"><span class="pre">MultiDict</span></code>
and kwargs. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1687">#1687</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1697">#1697</a></li>
<li>The development server accepts paths that start with two slashes,
rather than stripping off the first path segment. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/491">#491</a></li>
<li>Add access control (Cross Origin Request Sharing, CORS) header
properties to the <code class="docutils literal notranslate"><span class="pre">Request</span></code> and <code class="docutils literal notranslate"><span class="pre">Response</span></code> wrappers. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1699">#1699</a></li>
<li><code class="docutils literal notranslate"><span class="pre">Accept</span></code> values are no longer ordered alphabetically for equal
quality tags. Instead the initial order is preserved. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1686">#1686</a></li>
<li>Added <code class="docutils literal notranslate"><span class="pre">Map.lock_class</span></code> attribute for alternative
implementations. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1702">#1702</a></li>
<li>Support matching and building WebSocket rules in the routing system,
for use by async frameworks. <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1709">#1709</a></li>
<li>Range requests that span an entire file respond with 206 instead of
200, to be more compliant with <span class="target" id="index-1"></span><a class="rfc reference external" href="https://tools.ietf.org/html/rfc7233.html"><strong>RFC 7233</strong></a>. This may help serving
media to older browsers. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/410">#410</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1704">#1704</a></li>
<li>The <a class="reference internal" href="../middleware/shared_data/index.html#werkzeug.middleware.shared_data.SharedDataMiddleware" title="werkzeug.middleware.shared_data.SharedDataMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code></a> default
<code class="docutils literal notranslate"><span class="pre">fallback_mimetype</span></code> is <code class="docutils literal notranslate"><span class="pre">application/octet-stream</span></code>. If a filename
looks like a text mimetype, the <code class="docutils literal notranslate"><span class="pre">utf-8</span></code> charset is added to it.
This matches the behavior of <a class="reference internal" href="../wrappers/index.html#werkzeug.wrappers.BaseResponse" title="werkzeug.wrappers.BaseResponse"><code class="xref py py-class docutils literal notranslate"><span class="pre">BaseResponse</span></code></a> and
Flask’s <code class="docutils literal notranslate"><span class="pre">send_file()</span></code>. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1689">#1689</a></li>
</ul>
</div>
<div class="section" id="version-0-16-1">
<h2>Version 0.16.1<a class="headerlink" href="#version-0-16-1" title="Permalink to this headline">¶</a></h2>
<p>Released 2020-01-27</p>
<ul class="simple">
<li>Fix import location in deprecation messages for subpackages.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1663">#1663</a></li>
<li>Fix an SSL error on Python 3.5 when the dev server responds with no
content. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1659">#1659</a></li>
</ul>
</div>
<div class="section" id="version-0-16-0">
<h2>Version 0.16.0<a class="headerlink" href="#version-0-16-0" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-09-19</p>
<ul>
<li><p class="first">Deprecate most top-level attributes provided by the <code class="docutils literal notranslate"><span class="pre">werkzeug</span></code>
module in favor of direct imports. The deprecated imports will be
removed in version 1.0.</p>
<p>For example, instead of <code class="docutils literal notranslate"><span class="pre">import</span> <span class="pre">werkzeug;</span> <span class="pre">werkzeug.url_quote</span></code>, do
<code class="docutils literal notranslate"><span class="pre">from</span> <span class="pre">werkzeug.urls</span> <span class="pre">import</span> <span class="pre">url_quote</span></code>. A deprecation warning will
show the correct import to use. <code class="docutils literal notranslate"><span class="pre">werkzeug.exceptions</span></code> and
<code class="docutils literal notranslate"><span class="pre">werkzeug.routing</span></code> should also be imported instead of accessed,
but for technical reasons can’t show a warning.</p>
<p><a class="reference external" href="https://github.com/pallets/werkzeug/issues/2">#2</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1640">#1640</a></p>
</li>
</ul>
</div>
<div class="section" id="version-0-15-6">
<h2>Version 0.15.6<a class="headerlink" href="#version-0-15-6" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-09-04</p>
<ul class="simple">
<li>Work around a bug in pip that caused the reloader to fail on
Windows when the script was an entry point. This fixes the issue
with Flask’s <cite>flask run</cite> command failing with “No module named
Scriptsflask”. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1614">#1614</a></li>
<li><code class="docutils literal notranslate"><span class="pre">ProxyFix</span></code> trusts the <code class="docutils literal notranslate"><span class="pre">X-Forwarded-Proto</span></code> header by default.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1630">#1630</a></li>
<li>The deprecated <code class="docutils literal notranslate"><span class="pre">num_proxies</span></code> argument to <code class="docutils literal notranslate"><span class="pre">ProxyFix</span></code> sets
<code class="docutils literal notranslate"><span class="pre">x_for</span></code>, <code class="docutils literal notranslate"><span class="pre">x_proto</span></code>, and <code class="docutils literal notranslate"><span class="pre">x_host</span></code> to match 0.14 behavior. This
is intended to make intermediate upgrades less disruptive, but the
argument will still be removed in 1.0. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1630">#1630</a></li>
</ul>
</div>
<div class="section" id="version-0-15-5">
<h2>Version 0.15.5<a class="headerlink" href="#version-0-15-5" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-07-17</p>
<ul class="simple">
<li>Fix a <code class="docutils literal notranslate"><span class="pre">TypeError</span></code> due to changes to <code class="docutils literal notranslate"><span class="pre">ast.Module</span></code> in Python 3.8.
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1551">#1551</a></li>
<li>Fix a C assertion failure in debug builds of some Python 2.7
releases. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1553">#1553</a></li>
<li><a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.BadRequestKeyError" title="werkzeug.exceptions.BadRequestKeyError"><code class="xref py py-class docutils literal notranslate"><span class="pre">BadRequestKeyError</span></code></a> adds the <code class="docutils literal notranslate"><span class="pre">KeyError</span></code>
message to the description if <code class="docutils literal notranslate"><span class="pre">e.show_exception</span></code> is set to
<code class="docutils literal notranslate"><span class="pre">True</span></code>. This is a more secure default than the original 0.15.0
behavior and makes it easier to control without losing information.
<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1592">#1592</a></li>
<li>Upgrade the debugger to jQuery 3.4.1. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1581">#1581</a></li>
<li>Work around an issue in some external debuggers that caused the
reloader to fail. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1607">#1607</a></li>
<li>Work around an issue where the reloader couldn’t introspect a
setuptools script installed as an egg. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1600">#1600</a></li>
<li>The reloader will use <code class="docutils literal notranslate"><span class="pre">sys.executable</span></code> even if the script is
marked executable, reverting a behavior intended for NixOS
introduced in 0.15. The reloader should no longer cause
<code class="docutils literal notranslate"><span class="pre">OSError:</span> <span class="pre">[Errno</span> <span class="pre">8]</span> <span class="pre">Exec</span> <span class="pre">format</span> <span class="pre">error</span></code>. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1482">#1482</a>,
<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1580">#1580</a></li>
<li><code class="docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code> safely handles paths with Windows drive
names. <a class="reference external" href="https://github.com/pallets/werkzeug/issues/1589">#1589</a></li>
</ul>
</div>
<div class="section" id="version-0-15-4">
<h2>Version 0.15.4<a class="headerlink" href="#version-0-15-4" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-05-14</p>
<ul class="simple">
<li>Fix a <code class="docutils literal notranslate"><span class="pre">SyntaxError</span></code> on Python 2.7.5. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1544">#1544</a>)</li>
</ul>
</div>
<div class="section" id="version-0-15-3">
<h2>Version 0.15.3<a class="headerlink" href="#version-0-15-3" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-05-14</p>
<ul class="simple">
<li>Properly handle multi-line header folding in development server in
Python 2.7. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1080">#1080</a>)</li>
<li>Restore the <code class="docutils literal notranslate"><span class="pre">response</span></code> argument to <a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.Unauthorized" title="werkzeug.exceptions.Unauthorized"><code class="xref py py-exc docutils literal notranslate"><span class="pre">Unauthorized</span></code></a>.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1527">#1527</a>)</li>
<li><a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.Unauthorized" title="werkzeug.exceptions.Unauthorized"><code class="xref py py-exc docutils literal notranslate"><span class="pre">Unauthorized</span></code></a> doesn’t add the <code class="docutils literal notranslate"><span class="pre">WWW-Authenticate</span></code>
header if <code class="docutils literal notranslate"><span class="pre">www_authenticate</span></code> is not given. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1516">#1516</a>)</li>
<li>The default URL converter correctly encodes bytes to string rather
than representing them with <code class="docutils literal notranslate"><span class="pre">b''</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1502">#1502</a>)</li>
<li>Fix the filename format string in
<a class="reference internal" href="../middleware/profiler/index.html#werkzeug.middleware.profiler.ProfilerMiddleware" title="werkzeug.middleware.profiler.ProfilerMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProfilerMiddleware</span></code></a> to correctly handle
float values. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1511">#1511</a>)</li>
<li>Update <a class="reference internal" href="../middleware/lint/index.html#werkzeug.middleware.lint.LintMiddleware" title="werkzeug.middleware.lint.LintMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">LintMiddleware</span></code></a> to work on Python 3.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1510">#1510</a>)</li>
<li>The debugger detects cycles in chained exceptions and does not time
out in that case. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1536">#1536</a>)</li>
<li>When running the development server in Docker, the debugger security
pin is now unique per container.</li>
</ul>
</div>
<div class="section" id="version-0-15-2">
<h2>Version 0.15.2<a class="headerlink" href="#version-0-15-2" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-04-02</p>
<ul class="simple">
<li><code class="docutils literal notranslate"><span class="pre">Rule</span></code> code generation uses a filename that coverage will ignore.
The previous value, “generated”, was causing coverage to fail.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1487">#1487</a>)</li>
<li>The test client removes the cookie header if there are no persisted
cookies. This fixes an issue introduced in 0.15.0 where the cookies
from the original request were used for redirects, causing functions
such as logout to fail. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1491">#1491</a>)</li>
<li>The test client copies the environ before passing it to the app, to
prevent in-place modifications from affecting redirect requests.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1498">#1498</a>)</li>
<li>The <code class="docutils literal notranslate"><span class="pre">&quot;werkzeug&quot;</span></code> logger only adds a handler if there is no handler
configured for its level in the logging chain. This avoids double
logging if other code configures logging first. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1492">#1492</a>)</li>
</ul>
</div>
<div class="section" id="version-0-15-1">
<h2>Version 0.15.1<a class="headerlink" href="#version-0-15-1" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-03-21</p>
<ul class="simple">
<li><a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.Unauthorized" title="werkzeug.exceptions.Unauthorized"><code class="xref py py-exc docutils literal notranslate"><span class="pre">Unauthorized</span></code></a> takes <code class="docutils literal notranslate"><span class="pre">description</span></code> as the first
argument, restoring previous behavior. The new <code class="docutils literal notranslate"><span class="pre">www_authenticate</span></code>
argument is listed second. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1483">#1483</a>)</li>
</ul>
</div>
<div class="section" id="version-0-15-0">
<h2>Version 0.15.0<a class="headerlink" href="#version-0-15-0" title="Permalink to this headline">¶</a></h2>
<p>Released 2019-03-19</p>
<ul class="simple">
<li>Building URLs is ~7x faster. Each <a class="reference internal" href="../routing/index.html#werkzeug.routing.Rule" title="werkzeug.routing.Rule"><code class="xref py py-class docutils literal notranslate"><span class="pre">Rule</span></code></a> compiles
an optimized function for building itself. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1281">#1281</a>)</li>
<li><a class="reference internal" href="../routing/index.html#werkzeug.routing.MapAdapter.build" title="werkzeug.routing.MapAdapter.build"><code class="xref py py-meth docutils literal notranslate"><span class="pre">MapAdapter.build()</span></code></a> can be passed
a <a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.MultiDict" title="werkzeug.datastructures.MultiDict"><code class="xref py py-class docutils literal notranslate"><span class="pre">MultiDict</span></code></a> to represent multiple values
for a key. It already did this when passing a dict with a list
value. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/724">#724</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">path_info</span></code> defaults to <code class="docutils literal notranslate"><span class="pre">'/'</span></code> for
<a class="reference internal" href="../routing/index.html#werkzeug.routing.Map.bind" title="werkzeug.routing.Map.bind"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Map.bind()</span></code></a>. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/740">#740</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/768">#768</a>,
<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1316">#1316</a>)</li>
<li>Change <code class="docutils literal notranslate"><span class="pre">RequestRedirect</span></code> code from 301 to 308, preserving the verb
and request body (form data) during redirect. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1342">#1342</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">int</span></code> and <code class="docutils literal notranslate"><span class="pre">float</span></code> converters in URL rules will handle negative
values if passed the <code class="docutils literal notranslate"><span class="pre">signed=True</span></code> parameter. For example,
<code class="docutils literal notranslate"><span class="pre">/jump/&lt;int(signed=True):count&gt;</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1355">#1355</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">Location</span></code> autocorrection in <a class="reference internal" href="../wrappers/index.html#werkzeug.wrappers.BaseResponse.get_wsgi_headers" title="werkzeug.wrappers.BaseResponse.get_wsgi_headers"><code class="xref py py-func docutils literal notranslate"><span class="pre">Response.get_wsgi_headers()</span></code></a> is relative to the current
path rather than the root path. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/693">#693</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/718">#718</a>,
<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1315">#1315</a>)</li>
<li>412 responses once again include entity headers and an error message
in the body. They were originally omitted when implementing
<code class="docutils literal notranslate"><span class="pre">If-Match</span></code> (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1233">#1233</a>), but the spec doesn’t seem to disallow it.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1231">#1231</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1255">#1255</a>)</li>
<li>The Content-Length header is removed for 1xx and 204 responses. This
fixes a previous change where no body would be sent, but the header
would still be present. The new behavior matches RFC 7230.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1294">#1294</a>)</li>
<li><a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.Unauthorized" title="werkzeug.exceptions.Unauthorized"><code class="xref py py-class docutils literal notranslate"><span class="pre">Unauthorized</span></code></a> takes a <code class="docutils literal notranslate"><span class="pre">www_authenticate</span></code>
parameter to set the <code class="docutils literal notranslate"><span class="pre">WWW-Authenticate</span></code> header for the response,
which is technically required for a valid 401 response.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/772">#772</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/795">#795</a>)</li>
<li>Add support for status code 424 <a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.FailedDependency" title="werkzeug.exceptions.FailedDependency"><code class="xref py py-exc docutils literal notranslate"><span class="pre">FailedDependency</span></code></a>.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1358">#1358</a>)</li>
<li><a class="reference internal" href="../http/index.html#werkzeug.http.parse_cookie" title="werkzeug.http.parse_cookie"><code class="xref py py-func docutils literal notranslate"><span class="pre">http.parse_cookie()</span></code></a> ignores empty segments rather than
producing a cookie with no key or value. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1245">#1245</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1301">#1301</a>)</li>
<li><a class="reference internal" href="../http/index.html#werkzeug.http.parse_authorization_header" title="werkzeug.http.parse_authorization_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">parse_authorization_header()</span></code></a> (and
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.Authorization" title="werkzeug.datastructures.Authorization"><code class="xref py py-class docutils literal notranslate"><span class="pre">Authorization</span></code></a>,
<code class="xref py py-attr docutils literal notranslate"><span class="pre">authorization</span></code>) treats the authorization
header as UTF-8. On Python 2, basic auth username and password are
<code class="docutils literal notranslate"><span class="pre">unicode</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1325">#1325</a>)</li>
<li><a class="reference internal" href="../http/index.html#werkzeug.http.parse_options_header" title="werkzeug.http.parse_options_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">parse_options_header()</span></code></a> understands <span class="target" id="index-2"></span><a class="rfc reference external" href="https://tools.ietf.org/html/rfc2231.html"><strong>RFC 2231</strong></a> parameter
continuations. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1417">#1417</a>)</li>
<li><a class="reference internal" href="../urls/index.html#werkzeug.urls.uri_to_iri" title="werkzeug.urls.uri_to_iri"><code class="xref py py-func docutils literal notranslate"><span class="pre">uri_to_iri()</span></code></a> does not unquote ASCII characters in the
unreserved class, such as space, and leaves invalid bytes quoted
when decoding. <a class="reference internal" href="../urls/index.html#werkzeug.urls.iri_to_uri" title="werkzeug.urls.iri_to_uri"><code class="xref py py-func docutils literal notranslate"><span class="pre">iri_to_uri()</span></code></a> does not quote reserved
characters. See <span class="target" id="index-3"></span><a class="rfc reference external" href="https://tools.ietf.org/html/rfc3987.html"><strong>RFC 3987</strong></a> for these character classes.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1433">#1433</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">get_content_type</span></code> appends a charset for any mimetype that ends
with <code class="docutils literal notranslate"><span class="pre">+xml</span></code>, not just those that start with <code class="docutils literal notranslate"><span class="pre">application/</span></code>.
Known text types such as <code class="docutils literal notranslate"><span class="pre">application/javascript</span></code> are also given
charsets. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1439">#1439</a>)</li>
<li>Clean up <code class="docutils literal notranslate"><span class="pre">werkzeug.security</span></code> module, remove outdated hashlib
support. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1282">#1282</a>)</li>
<li>In <a class="reference internal" href="../utils/index.html#werkzeug.security.generate_password_hash" title="werkzeug.security.generate_password_hash"><code class="xref py py-func docutils literal notranslate"><span class="pre">generate_password_hash()</span></code></a>, PBKDF2 uses 150000
iterations by default, increased from 50000. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1377">#1377</a>)</li>
<li><a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.ClosingIterator" title="werkzeug.wsgi.ClosingIterator"><code class="xref py py-class docutils literal notranslate"><span class="pre">ClosingIterator</span></code></a> calls <code class="docutils literal notranslate"><span class="pre">close</span></code> on the wrapped
<em>iterable</em>, not the internal iterator. This doesn’t affect objects
where <code class="docutils literal notranslate"><span class="pre">__iter__</span></code> returned <code class="docutils literal notranslate"><span class="pre">self</span></code>. For other objects, the method
was not called before. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1259">#1259</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1260">#1260</a>)</li>
<li>Bytes may be used as keys in <a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.Headers" title="werkzeug.datastructures.Headers"><code class="xref py py-class docutils literal notranslate"><span class="pre">Headers</span></code></a>, they
will be decoded as Latin-1 like values are. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1346">#1346</a>)</li>
<li><a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.Range" title="werkzeug.datastructures.Range"><code class="xref py py-class docutils literal notranslate"><span class="pre">Range</span></code></a> validates that list of range tuples
passed to it would produce a valid <code class="docutils literal notranslate"><span class="pre">Range</span></code> header. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1412">#1412</a>)</li>
<li><a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.FileStorage" title="werkzeug.datastructures.FileStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">FileStorage</span></code></a> looks up attributes on
<code class="docutils literal notranslate"><span class="pre">stream._file</span></code> if they don’t exist on <code class="docutils literal notranslate"><span class="pre">stream</span></code>, working around
an issue where <a class="reference external" href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" title="(in Python v3.8)"><code class="xref py py-func docutils literal notranslate"><span class="pre">tempfile.SpooledTemporaryFile()</span></code></a> didn’t
implement all of <a class="reference external" href="https://docs.python.org/3/library/io.html#io.IOBase" title="(in Python v3.8)"><code class="xref py py-class docutils literal notranslate"><span class="pre">io.IOBase</span></code></a>. See
<a class="reference external" href="https://github.com/python/cpython/pull/3249">https://github.com/python/cpython/pull/3249</a>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1409">#1409</a>)</li>
<li><a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.CombinedMultiDict" title="werkzeug.datastructures.CombinedMultiDict"><code class="xref py py-class docutils literal notranslate"><span class="pre">CombinedMultiDict.copy()</span></code></a>
returns a shallow mutable copy as a
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.MultiDict" title="werkzeug.datastructures.MultiDict"><code class="xref py py-class docutils literal notranslate"><span class="pre">MultiDict</span></code></a>. The copy no longer reflects
changes to the combined dicts, but is more generally useful.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1420">#1420</a>)</li>
<li>The version of jQuery used by the debugger is updated to 3.3.1.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1390">#1390</a>)</li>
<li>The debugger correctly renders long <code class="docutils literal notranslate"><span class="pre">markupsafe.Markup</span></code> instances.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1393">#1393</a>)</li>
<li>The debugger can serve resources when Werkzeug is installed as a
zip file. <code class="docutils literal notranslate"><span class="pre">DebuggedApplication.get_resource</span></code> uses
<code class="docutils literal notranslate"><span class="pre">pkgutil.get_data</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1401">#1401</a>)</li>
<li>The debugger and server log support Python 3’s chained exceptions.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1396">#1396</a>)</li>
<li>The interactive debugger highlights frames that come from user code
to make them easy to pick out in a long stack trace. Note that if an
env was created with virtualenv instead of venv, the debugger may
incorrectly classify some frames. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1421">#1421</a>)</li>
<li>Clicking the error message at the top of the interactive debugger
will jump down to the bottom of the traceback. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1422">#1422</a>)</li>
<li>When generating a PIN, the debugger will ignore a <code class="docutils literal notranslate"><span class="pre">KeyError</span></code>
raised when the current UID doesn’t have an associated username,
which can happen in Docker. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1471">#1471</a>)</li>
<li><a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.BadRequestKeyError" title="werkzeug.exceptions.BadRequestKeyError"><code class="xref py py-class docutils literal notranslate"><span class="pre">BadRequestKeyError</span></code></a> adds the <code class="docutils literal notranslate"><span class="pre">KeyError</span></code>
message to the description, making it clearer what caused the 400
error. Frameworks like Flask can omit this information in production
by setting <code class="docutils literal notranslate"><span class="pre">e.args</span> <span class="pre">=</span> <span class="pre">()</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1395">#1395</a>)</li>
<li>If a nested <code class="docutils literal notranslate"><span class="pre">ImportError</span></code> occurs from <a class="reference internal" href="../utils/index.html#werkzeug.utils.import_string" title="werkzeug.utils.import_string"><code class="xref py py-func docutils literal notranslate"><span class="pre">import_string()</span></code></a>
the traceback mentions the nested import. Removes an untested code
path for handling “modules not yet set up by the parent.”
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/735">#735</a>)</li>
<li>Triggering a reload while using a tool such as PDB no longer hides
input. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1318">#1318</a>)</li>
<li>The reloader will not prepend the Python executable to the command
line if the Python file is marked executable. This allows the
reloader to work on NixOS. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1242">#1242</a>)</li>
<li>Fix an issue where <code class="docutils literal notranslate"><span class="pre">sys.path</span></code> would change between reloads when
running with <code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">app</span></code>. The reloader can detect that a
module was run with “-m” and reconstructs that instead of the file
path in <code class="docutils literal notranslate"><span class="pre">sys.argv</span></code> when reloading. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1416">#1416</a>)</li>
<li>The dev server can bind to a Unix socket by passing a hostname like
<code class="docutils literal notranslate"><span class="pre">unix://app.socket</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/209">#209</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1019">#1019</a>)</li>
<li>Server uses <code class="docutils literal notranslate"><span class="pre">IPPROTO_TCP</span></code> constant instead of <code class="docutils literal notranslate"><span class="pre">SOL_TCP</span></code> for
Jython compatibility. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1375">#1375</a>)</li>
<li>When using an adhoc SSL cert with <a class="reference internal" href="../serving/index.html#werkzeug.serving.run_simple" title="werkzeug.serving.run_simple"><code class="xref py py-func docutils literal notranslate"><span class="pre">run_simple()</span></code></a>, the
cert is shown as self-signed rather than signed by an invalid
authority. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1430">#1430</a>)</li>
<li>The development server logs the unquoted IRI rather than the raw
request line, to make it easier to work with Unicode in request
paths during development. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1115">#1115</a>)</li>
<li>The development server recognizes <code class="docutils literal notranslate"><span class="pre">ConnectionError</span></code> on Python 3 to
silence client disconnects, and does not silence other <code class="docutils literal notranslate"><span class="pre">OSErrors</span></code>
that may have been raised inside the application. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1418">#1418</a>)</li>
<li>The environ keys <code class="docutils literal notranslate"><span class="pre">REQUEST_URI</span></code> and <code class="docutils literal notranslate"><span class="pre">RAW_URI</span></code> contain the raw
path before it was percent-decoded. This is non-standard, but many
WSGI servers add them. Middleware could replace <code class="docutils literal notranslate"><span class="pre">PATH_INFO</span></code> with
this to route based on the raw value. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1419">#1419</a>)</li>
<li><a class="reference internal" href="../test/index.html#werkzeug.test.EnvironBuilder" title="werkzeug.test.EnvironBuilder"><code class="xref py py-class docutils literal notranslate"><span class="pre">EnvironBuilder</span></code></a> doesn’t set <code class="docutils literal notranslate"><span class="pre">CONTENT_TYPE</span></code> or
<code class="docutils literal notranslate"><span class="pre">CONTENT_LENGTH</span></code> in the environ if they aren’t set. Previously
these used default values if they weren’t set. Now it’s possible to
distinguish between empty and unset values. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1308">#1308</a>)</li>
<li>The test client raises a <code class="docutils literal notranslate"><span class="pre">ValueError</span></code> if a query string argument
would overwrite a query string in the path. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1338">#1338</a>)</li>
<li><a class="reference internal" href="../test/index.html#werkzeug.test.EnvironBuilder" title="werkzeug.test.EnvironBuilder"><code class="xref py py-class docutils literal notranslate"><span class="pre">test.EnvironBuilder</span></code></a> and <a class="reference internal" href="../test/index.html#werkzeug.test.Client" title="werkzeug.test.Client"><code class="xref py py-class docutils literal notranslate"><span class="pre">test.Client</span></code></a> take a
<code class="docutils literal notranslate"><span class="pre">json</span></code> argument instead of manually passing <code class="docutils literal notranslate"><span class="pre">data</span></code> and
<code class="docutils literal notranslate"><span class="pre">content_type</span></code>. This is serialized using the
<a class="reference internal" href="../test/index.html#werkzeug.test.EnvironBuilder.json_dumps" title="werkzeug.test.EnvironBuilder.json_dumps"><code class="xref py py-meth docutils literal notranslate"><span class="pre">test.EnvironBuilder.json_dumps()</span></code></a> method. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1404">#1404</a>)</li>
<li><a class="reference internal" href="../test/index.html#werkzeug.test.Client" title="werkzeug.test.Client"><code class="xref py py-class docutils literal notranslate"><span class="pre">test.Client</span></code></a> redirect handling is rewritten. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1402">#1402</a>)<ul>
<li>The redirect environ is copied from the initial request environ.</li>
<li>Script root and path are correctly distinguished when
redirecting to a path under the root.</li>
<li>The HEAD method is not changed to GET.</li>
<li>307 and 308 codes preserve the method and body. All others
ignore the body and related headers.</li>
<li>Headers are passed to the new request for all codes, following
what browsers do.</li>
<li><a class="reference internal" href="../test/index.html#werkzeug.test.EnvironBuilder" title="werkzeug.test.EnvironBuilder"><code class="xref py py-class docutils literal notranslate"><span class="pre">test.EnvironBuilder</span></code></a> sets the content type and length
headers in addition to the WSGI keys when detecting them from
the data.</li>
<li>Intermediate response bodies are iterated over even when
<code class="docutils literal notranslate"><span class="pre">buffered=False</span></code> to ensure iterator middleware can run cleanup
code safely. Only the last response is not buffered. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/988">#988</a>)</li>
</ul>
</li>
<li><a class="reference internal" href="../test/index.html#werkzeug.test.EnvironBuilder" title="werkzeug.test.EnvironBuilder"><code class="xref py py-class docutils literal notranslate"><span class="pre">EnvironBuilder</span></code></a>, <a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.FileStorage" title="werkzeug.datastructures.FileStorage"><code class="xref py py-class docutils literal notranslate"><span class="pre">FileStorage</span></code></a>,
and <a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.get_input_stream" title="werkzeug.wsgi.get_input_stream"><code class="xref py py-func docutils literal notranslate"><span class="pre">wsgi.get_input_stream()</span></code></a> no longer share a global
<code class="docutils literal notranslate"><span class="pre">_empty_stream</span></code> instance. This improves test isolation by
preventing cases where closing the stream in one request would
affect other usages. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1340">#1340</a>)</li>
<li>The default <code class="docutils literal notranslate"><span class="pre">SecureCookie.serialization_method</span></code> will change from
<a class="reference external" href="https://docs.python.org/3/library/pickle.html#module-pickle" title="(in Python v3.8)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pickle</span></code></a> to <a class="reference external" href="https://docs.python.org/3/library/json.html#module-json" title="(in Python v3.8)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">json</span></code></a> in 1.0. To upgrade existing tokens,
override <code class="xref py py-meth docutils literal notranslate"><span class="pre">unquote()</span></code> to try
<code class="docutils literal notranslate"><span class="pre">pickle</span></code> if <code class="docutils literal notranslate"><span class="pre">json</span></code> fails. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1413">#1413</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">CGIRootFix</span></code> no longer modifies <code class="docutils literal notranslate"><span class="pre">PATH_INFO</span></code> for very old
versions of Lighttpd. <code class="docutils literal notranslate"><span class="pre">LighttpdCGIRootFix</span></code> was renamed to
<code class="docutils literal notranslate"><span class="pre">CGIRootFix</span></code> in 0.9. Both are deprecated and will be removed in
version 1.0. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1141">#1141</a>)</li>
<li><a class="reference internal" href="../wrappers/index.html#werkzeug.wrappers.json.JSONMixin" title="werkzeug.wrappers.json.JSONMixin"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.wrappers.json.JSONMixin</span></code></a> has been replaced with
Flask’s implementation. Check the docs for the full API.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1445">#1445</a>)</li>
<li>The contrib modules are deprecated and will either be moved into
<code class="docutils literal notranslate"><span class="pre">werkzeug</span></code> core or removed completely in version 1.0. Some modules
that already issued deprecation warnings have been removed. Be sure
to run or test your code with
<code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-W</span> <span class="pre">default::DeprecationWarning</span></code> to catch any deprecated
code you’re using. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/4">#4</a>)<ul>
<li><code class="docutils literal notranslate"><span class="pre">LintMiddleware</span></code> has moved to <a class="reference internal" href="../middleware/lint/index.html#module-werkzeug.middleware.lint" title="werkzeug.middleware.lint"><code class="xref py py-mod docutils literal notranslate"><span class="pre">werkzeug.middleware.lint</span></code></a>.</li>
<li><code class="docutils literal notranslate"><span class="pre">ProfilerMiddleware</span></code> has moved to
<a class="reference internal" href="../middleware/profiler/index.html#module-werkzeug.middleware.profiler" title="werkzeug.middleware.profiler"><code class="xref py py-mod docutils literal notranslate"><span class="pre">werkzeug.middleware.profiler</span></code></a>.</li>
<li><code class="docutils literal notranslate"><span class="pre">ProxyFix</span></code> has moved to <a class="reference internal" href="../middleware/proxy_fix/index.html#module-werkzeug.middleware.proxy_fix" title="werkzeug.middleware.proxy_fix"><code class="xref py py-mod docutils literal notranslate"><span class="pre">werkzeug.middleware.proxy_fix</span></code></a>.</li>
<li><code class="docutils literal notranslate"><span class="pre">JSONRequestMixin</span></code> has moved to <code class="xref py py-mod docutils literal notranslate"><span class="pre">werkzeug.wrappers.json</span></code>.</li>
<li><code class="docutils literal notranslate"><span class="pre">cache</span></code> has been extracted into a separate project,
<a class="reference external" href="https://github.com/pallets/cachelib">cachelib</a>. The version
in Werkzeug is deprecated.</li>
<li><code class="docutils literal notranslate"><span class="pre">securecookie</span></code> and <code class="docutils literal notranslate"><span class="pre">sessions</span></code> have been extracted into a
separate project,
<a class="reference external" href="https://github.com/pallets/secure-cookie">secure-cookie</a>. The
version in Werkzeug is deprecated.</li>
<li>Everything in <code class="docutils literal notranslate"><span class="pre">fixers</span></code>, except <code class="docutils literal notranslate"><span class="pre">ProxyFix</span></code>, is deprecated.</li>
<li>Everything in <code class="docutils literal notranslate"><span class="pre">wrappers</span></code>, except <code class="docutils literal notranslate"><span class="pre">JSONMixin</span></code>, is deprecated.</li>
<li><code class="docutils literal notranslate"><span class="pre">atom</span></code> is deprecated. This did not fit in with the rest of
Werkzeug, and is better served by a dedicated library in the
community.</li>
<li><code class="docutils literal notranslate"><span class="pre">jsrouting</span></code> is removed. Set URLs when rendering templates
or JSON responses instead.</li>
<li><code class="docutils literal notranslate"><span class="pre">limiter</span></code> is removed. Its specific use is handled by Werkzeug
directly, but stream limiting is better handled by the WSGI
server in general.</li>
<li><code class="docutils literal notranslate"><span class="pre">testtools</span></code> is removed. It did not offer significant benefit
over the default test client.</li>
<li><code class="docutils literal notranslate"><span class="pre">iterio</span></code> is deprecated.</li>
</ul>
</li>
<li><a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.get_host" title="werkzeug.wsgi.get_host"><code class="xref py py-func docutils literal notranslate"><span class="pre">wsgi.get_host()</span></code></a> no longer looks at <code class="docutils literal notranslate"><span class="pre">X-Forwarded-For</span></code>. Use
<a class="reference internal" href="../middleware/proxy_fix/index.html#werkzeug.middleware.proxy_fix.ProxyFix" title="werkzeug.middleware.proxy_fix.ProxyFix"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProxyFix</span></code></a> to handle that.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/609">#609</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1303">#1303</a>)</li>
<li><a class="reference internal" href="../middleware/proxy_fix/index.html#werkzeug.middleware.proxy_fix.ProxyFix" title="werkzeug.middleware.proxy_fix.ProxyFix"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProxyFix</span></code></a> is refactored to support
more headers, multiple values, and more secure configuration.<ul>
<li>Each header supports multiple values. The trusted number of
proxies is configured separately for each header. The
<code class="docutils literal notranslate"><span class="pre">num_proxies</span></code> argument is deprecated. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1314">#1314</a>)</li>
<li>Sets <code class="docutils literal notranslate"><span class="pre">SERVER_NAME</span></code> and <code class="docutils literal notranslate"><span class="pre">SERVER_PORT</span></code> based on
<code class="docutils literal notranslate"><span class="pre">X-Forwarded-Host</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1314">#1314</a>)</li>
<li>Sets <code class="docutils literal notranslate"><span class="pre">SERVER_PORT</span></code> and modifies <code class="docutils literal notranslate"><span class="pre">HTTP_HOST</span></code> based on
<code class="docutils literal notranslate"><span class="pre">X-Forwarded-Port</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1023">#1023</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1304">#1304</a>)</li>
<li>Sets <code class="docutils literal notranslate"><span class="pre">SCRIPT_NAME</span></code> based on <code class="docutils literal notranslate"><span class="pre">X-Forwarded-Prefix</span></code>.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1237">#1237</a>)</li>
<li>The original WSGI environment values are stored in the
<code class="docutils literal notranslate"><span class="pre">werkzeug.proxy_fix.orig</span></code> key, a dict. The individual keys
<code class="docutils literal notranslate"><span class="pre">werkzeug.proxy_fix.orig_remote_addr</span></code>,
<code class="docutils literal notranslate"><span class="pre">werkzeug.proxy_fix.orig_wsgi_url_scheme</span></code>, and
<code class="docutils literal notranslate"><span class="pre">werkzeug.proxy_fix.orig_http_host</span></code> are deprecated.</li>
</ul>
</li>
<li>Middleware from <code class="docutils literal notranslate"><span class="pre">werkzeug.wsgi</span></code> has moved to separate modules
under <code class="docutils literal notranslate"><span class="pre">werkzeug.middleware</span></code>, along with the middleware moved from
<code class="docutils literal notranslate"><span class="pre">werkzeug.contrib</span></code>. The old <code class="docutils literal notranslate"><span class="pre">werkzeug.wsgi</span></code> imports are
deprecated and will be removed in version 1.0. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1452">#1452</a>)<ul>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.wsgi.DispatcherMiddleware</span></code> has moved to
<a class="reference internal" href="../middleware/dispatcher/index.html#werkzeug.middleware.dispatcher.DispatcherMiddleware" title="werkzeug.middleware.dispatcher.DispatcherMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.middleware.dispatcher.DispatcherMiddleware</span></code></a>.</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.wsgi.ProxyMiddleware</span></code> as moved to
<a class="reference internal" href="../middleware/http_proxy/index.html#werkzeug.middleware.http_proxy.ProxyMiddleware" title="werkzeug.middleware.http_proxy.ProxyMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.middleware.http_proxy.ProxyMiddleware</span></code></a>.</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.wsgi.SharedDataMiddleware</span></code> has moved to
<a class="reference internal" href="../middleware/shared_data/index.html#werkzeug.middleware.shared_data.SharedDataMiddleware" title="werkzeug.middleware.shared_data.SharedDataMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.middleware.shared_data.SharedDataMiddleware</span></code></a>.</li>
</ul>
</li>
<li><a class="reference internal" href="../middleware/http_proxy/index.html#werkzeug.middleware.http_proxy.ProxyMiddleware" title="werkzeug.middleware.http_proxy.ProxyMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProxyMiddleware</span></code></a> proxies the query
string. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1252">#1252</a>)</li>
<li>The filenames generated by
<a class="reference internal" href="../middleware/profiler/index.html#werkzeug.middleware.profiler.ProfilerMiddleware" title="werkzeug.middleware.profiler.ProfilerMiddleware"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProfilerMiddleware</span></code></a> can be customized.
(<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1283">#1283</a>)</li>
<li>The <code class="docutils literal notranslate"><span class="pre">werkzeug.wrappers</span></code> module has been converted to a package,
and its various classes have been organized into separate modules.
Any previously documented classes, understood to be the existing
public API, are still importable from <code class="docutils literal notranslate"><span class="pre">werkzeug.wrappers</span></code>, or may
be imported from their specific modules. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1456">#1456</a>)</li>
</ul>
</div>
<div class="section" id="version-0-14-1">
<h2>Version 0.14.1<a class="headerlink" href="#version-0-14-1" title="Permalink to this headline">¶</a></h2>
<p>Released on December 31st 2017</p>
<ul class="simple">
<li>Resolved a regression with status code handling in the integrated
development server.</li>
</ul>
</div>
<div class="section" id="version-0-14">
<h2>Version 0.14<a class="headerlink" href="#version-0-14" title="Permalink to this headline">¶</a></h2>
<p>Released on December 31st 2017</p>
<ul class="simple">
<li>HTTP exceptions are now automatically caught by
<code class="docutils literal notranslate"><span class="pre">Request.application</span></code>.</li>
<li>Added support for edge as browser.</li>
<li>Added support for platforms that lack <code class="docutils literal notranslate"><span class="pre">SpooledTemporaryFile</span></code>.</li>
<li>Add support for etag handling through if-match</li>
<li>Added support for the SameSite cookie attribute.</li>
<li>Added <code class="docutils literal notranslate"><span class="pre">werkzeug.wsgi.ProxyMiddleware</span></code></li>
<li>Implemented <code class="docutils literal notranslate"><span class="pre">has</span></code> for <code class="docutils literal notranslate"><span class="pre">NullCache</span></code></li>
<li><code class="docutils literal notranslate"><span class="pre">get_multi</span></code> on cache clients now returns lists all the time.</li>
<li>Improved the watchdog observer shutdown for the reloader to not crash
on exit on older Python versions.</li>
<li>Added support for <code class="docutils literal notranslate"><span class="pre">filename*</span></code> filename attributes according to
RFC 2231</li>
<li>Resolved an issue where machine ID for the reloader PIN was not
read accurately on windows.</li>
<li>Added a workaround for syntax errors in init files in the reloader.</li>
<li>Added support for using the reloader with console scripts on windows.</li>
<li>The built-in HTTP server will no longer close a connection in cases
where no HTTP body is expected (204, 204, HEAD requests etc.)</li>
<li>The <code class="docutils literal notranslate"><span class="pre">EnvironHeaders</span></code> object now skips over empty content type and
lengths if they are set to falsy values.</li>
<li>Werkzeug will no longer send the content-length header on 1xx or
204/304 responses.</li>
<li>Cookie values are now also permitted to include slashes and equal
signs without quoting.</li>
<li>Relaxed the regex for the routing converter arguments.</li>
<li>If cookies are sent without values they are now assumed to have an
empty value and the parser accepts this.  Previously this could have
corrupted cookies that followed the value.</li>
<li>The test <code class="docutils literal notranslate"><span class="pre">Client</span></code> and <code class="docutils literal notranslate"><span class="pre">EnvironBuilder</span></code> now support mimetypes like
the request object does.</li>
<li>Added support for static weights in URL rules.</li>
<li>Better handle some more complex reloader scenarios where sys.path
contained non directory paths.</li>
<li><code class="docutils literal notranslate"><span class="pre">EnvironHeaders</span></code> no longer raises weird errors if non string keys
are passed to it.</li>
</ul>
</div>
<div class="section" id="version-0-13">
<h2>Version 0.13<a class="headerlink" href="#version-0-13" title="Permalink to this headline">¶</a></h2>
<p>Released on December 7th 2017</p>
<ul class="simple">
<li><strong>Deprecate support for Python 2.6 and 3.3.</strong> CI tests will not run
for these versions, and support will be dropped completely in the next
version. (<a class="reference external" href="https://github.com/pallets/meta/issues/24">pallets/meta#24</a>)</li>
<li>Raise <code class="docutils literal notranslate"><span class="pre">TypeError</span></code> when port is not an integer. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1088">#1088</a>)</li>
<li>Fully deprecate <code class="docutils literal notranslate"><span class="pre">werkzeug.script</span></code>. Use <a class="reference external" href="https://palletsprojects.com/p/click/">Click</a> instead.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1090">#1090</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">response.age</span></code> is parsed as a <code class="docutils literal notranslate"><span class="pre">timedelta</span></code>. Previously, it was
incorrectly treated as a <code class="docutils literal notranslate"><span class="pre">datetime</span></code>. The header value is an integer
number of seconds, not a date string. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/414">#414</a>)</li>
<li>Fix a bug in <code class="docutils literal notranslate"><span class="pre">TypeConversionDict</span></code> where errors are not propagated
when using the converter. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/1102">#1102</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">Authorization.qop</span></code> is a string instead of a set, to comply with
RFC 2617. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/984">#984</a>)</li>
<li>An exception is raised when an encoded cookie is larger than, by
default, 4093 bytes. Browsers may silently ignore cookies larger than
this. <code class="docutils literal notranslate"><span class="pre">BaseResponse</span></code> has a new attribute <code class="docutils literal notranslate"><span class="pre">max_cookie_size</span></code> and
<code class="docutils literal notranslate"><span class="pre">dump_cookie</span></code> has a new argument <code class="docutils literal notranslate"><span class="pre">max_size</span></code> to configure this.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/780">#780</a>, <a class="reference external" href="https://github.com/pallets/werkzeug/pull/1109">#1109</a>)</li>
<li>Fix a TypeError in <code class="docutils literal notranslate"><span class="pre">werkzeug.contrib.lint.GuardedIterator.close</span></code>.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1116">#1116</a>)</li>
<li><code class="docutils literal notranslate"><span class="pre">BaseResponse.calculate_content_length</span></code> now correctly works for
Unicode responses on Python 3. It first encodes using
<code class="docutils literal notranslate"><span class="pre">iter_encoded</span></code>. (<a class="reference external" href="https://github.com/pallets/werkzeug/issues/705">#705</a>)</li>
<li>Secure cookie contrib works with string secret key on Python 3.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1205">#1205</a>)</li>
<li>Shared data middleware accepts a list instead of a dict of static
locations to preserve lookup order. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1197">#1197</a>)</li>
<li>HTTP header values without encoding can contain single quotes.
(<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1208">#1208</a>)</li>
<li>The built-in dev server supports receiving requests with chunked
transfer encoding. (<a class="reference external" href="https://github.com/pallets/werkzeug/pull/1198">#1198</a>)</li>
</ul>
</div>
<div class="section" id="version-0-12-2">
<h2>Version 0.12.2<a class="headerlink" href="#version-0-12-2" title="Permalink to this headline">¶</a></h2>
<p>Released on May 16 2017</p>
<ul class="simple">
<li>Fix regression: Pull request <code class="docutils literal notranslate"><span class="pre">#892</span></code> prevented Werkzeug from correctly
logging the IP of a remote client behind a reverse proxy, even when using
<cite>ProxyFix</cite>.</li>
<li>Fix a bug in <cite>safe_join</cite> on Windows.</li>
</ul>
</div>
<div class="section" id="version-0-12-1">
<h2>Version 0.12.1<a class="headerlink" href="#version-0-12-1" title="Permalink to this headline">¶</a></h2>
<p>Released on March 15th 2017</p>
<ul class="simple">
<li>Fix crash of reloader (used on debug mode) on Windows.
(<cite>OSError: [WinError 10038]</cite>). See pull request <code class="docutils literal notranslate"><span class="pre">#1081</span></code></li>
<li>Partially revert change to class hierarchy of <cite>Headers</cite>. See <code class="docutils literal notranslate"><span class="pre">#1084</span></code>.</li>
</ul>
</div>
<div class="section" id="version-0-12">
<h2>Version 0.12<a class="headerlink" href="#version-0-12" title="Permalink to this headline">¶</a></h2>
<p>Released on March 10th 2017</p>
<ul class="simple">
<li>Spit out big deprecation warnings for werkzeug.script</li>
<li>Use <cite>inspect.getfullargspec</cite> internally when available as
<cite>inspect.getargspec</cite> is gone in 3.6</li>
<li>Added support for status code 451 and 423</li>
<li>Improved the build error suggestions.  In particular only if
someone stringifies the error will the suggestions be calculated.</li>
<li>Added support for uWSGI’s caching backend.</li>
<li>Fix a bug where iterating over a <cite>FileStorage</cite> would result in an infinite
loop.</li>
<li>Datastructures now inherit from the relevant baseclasses from the
<cite>collections</cite> module in the stdlib. See #794.</li>
<li>Add support for recognizing NetBSD, OpenBSD, FreeBSD, DragonFlyBSD platforms
in the user agent string.</li>
<li>Recognize SeaMonkey browser name and version correctly</li>
<li>Recognize Baiduspider, and bingbot user agents</li>
<li>If <cite>LocalProxy</cite>’s wrapped object is a function, refer to it with __wrapped__
attribute.</li>
<li>The defaults of <code class="docutils literal notranslate"><span class="pre">generate_password_hash</span></code> have been changed to more secure
ones, see pull request <code class="docutils literal notranslate"><span class="pre">#753</span></code>.</li>
<li>Add support for encoding in options header parsing, see pull request
<code class="docutils literal notranslate"><span class="pre">#933</span></code>.</li>
<li><code class="docutils literal notranslate"><span class="pre">test.Client</span></code> now properly handles Location headers with relative URLs, see
pull request <code class="docutils literal notranslate"><span class="pre">#879</span></code>.</li>
<li>When <cite>HTTPException</cite> is raised, it now prints the description, for easier
debugging.</li>
<li>Werkzeug’s dict-like datastructures now have <code class="docutils literal notranslate"><span class="pre">view</span></code>-methods under Python 2,
see pull request <code class="docutils literal notranslate"><span class="pre">#968</span></code>.</li>
<li>Fix a bug in <code class="docutils literal notranslate"><span class="pre">MultiPartParser</span></code> when no <code class="docutils literal notranslate"><span class="pre">stream_factory</span></code> was provided
during initialization, see pull request <code class="docutils literal notranslate"><span class="pre">#973</span></code>.</li>
<li>Disable autocorrect and spellchecker in the debugger middleware’s Python
prompt, see pull request <code class="docutils literal notranslate"><span class="pre">#994</span></code>.</li>
<li>Don’t redirect to slash route when method doesn’t match, see pull request
<code class="docutils literal notranslate"><span class="pre">#907</span></code>.</li>
<li>Fix a bug when using <code class="docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code> with frozen packages, see pull
request <code class="docutils literal notranslate"><span class="pre">#959</span></code>.</li>
<li><cite>Range</cite> header parsing function fixed for invalid values <code class="docutils literal notranslate"><span class="pre">#974</span></code>.</li>
<li>Add support for byte Range Requests, see pull request <code class="docutils literal notranslate"><span class="pre">#978</span></code>.</li>
<li>Use modern cryptographic defaults in the dev servers <code class="docutils literal notranslate"><span class="pre">#1004</span></code>.</li>
<li>the post() method of the test client now accept file object through the data
parameter.</li>
<li>Color run_simple’s terminal output based on HTTP codes <code class="docutils literal notranslate"><span class="pre">#1013</span></code>.</li>
<li>Fix self-XSS in debugger console, see <code class="docutils literal notranslate"><span class="pre">#1031</span></code>.</li>
<li>Fix IPython 5.x shell support, see <code class="docutils literal notranslate"><span class="pre">#1033</span></code>.</li>
<li>Change Accept datastructure to sort by specificity first, allowing for more
accurate results when using <code class="docutils literal notranslate"><span class="pre">best_match</span></code> for mime types (for example in
<code class="docutils literal notranslate"><span class="pre">requests.accept_mimetypes.best_match</span></code>)</li>
</ul>
</div>
<div class="section" id="version-0-11-16">
<h2>Version 0.11.16<a class="headerlink" href="#version-0-11-16" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>werkzeug.serving: set CONTENT_TYPE / CONTENT_LENGTH if only they’re provided by the client</li>
<li>werkzeug.serving: Fix crash of reloader when using <cite>python -m werkzeug.serving</cite>.</li>
</ul>
</div>
<div class="section" id="version-0-11-15">
<h2>Version 0.11.15<a class="headerlink" href="#version-0-11-15" title="Permalink to this headline">¶</a></h2>
<p>Released on December 30th 2016.</p>
<ul class="simple">
<li>Bugfix for the bugfix in the previous release.</li>
</ul>
</div>
<div class="section" id="version-0-11-14">
<h2>Version 0.11.14<a class="headerlink" href="#version-0-11-14" title="Permalink to this headline">¶</a></h2>
<p>Released on December 30th 2016.</p>
<ul class="simple">
<li>Check if platform can fork before importing <code class="docutils literal notranslate"><span class="pre">ForkingMixIn</span></code>, raise exception
when creating <code class="docutils literal notranslate"><span class="pre">ForkingWSGIServer</span></code> on such a platform, see PR <code class="docutils literal notranslate"><span class="pre">#999</span></code>.</li>
</ul>
</div>
<div class="section" id="version-0-11-13">
<h2>Version 0.11.13<a class="headerlink" href="#version-0-11-13" title="Permalink to this headline">¶</a></h2>
<p>Released on December 26th 2016.</p>
<ul class="simple">
<li>Correct fix for the reloader issuer on certain Windows installations.</li>
</ul>
</div>
<div class="section" id="version-0-11-12">
<h2>Version 0.11.12<a class="headerlink" href="#version-0-11-12" title="Permalink to this headline">¶</a></h2>
<p>Released on December 26th 2016.</p>
<ul class="simple">
<li>Fix more bugs in multidicts regarding empty lists. See <code class="docutils literal notranslate"><span class="pre">#1000</span></code>.</li>
<li>Add some docstrings to some <cite>EnvironBuilder</cite> properties that were previously
unintentionally missing.</li>
<li>Added a workaround for the reloader on windows.</li>
</ul>
</div>
<div class="section" id="version-0-11-11">
<h2>Version 0.11.11<a class="headerlink" href="#version-0-11-11" title="Permalink to this headline">¶</a></h2>
<p>Released on August 31st 2016.</p>
<ul class="simple">
<li>Fix JSONRequestMixin for Python3. See #731</li>
<li>Fix broken string handling in test client when passing integers. See #852</li>
<li>Fix a bug in <code class="docutils literal notranslate"><span class="pre">parse_options_header</span></code> where an invalid content type
starting with comma or semi-colon would result in an invalid return value,
see issue <code class="docutils literal notranslate"><span class="pre">#995</span></code>.</li>
<li>Fix a bug in multidicts when passing empty lists as values, see issue
<code class="docutils literal notranslate"><span class="pre">#979</span></code>.</li>
<li>Fix a security issue that allows XSS on the Werkzeug debugger. See <code class="docutils literal notranslate"><span class="pre">#1001</span></code>.</li>
</ul>
</div>
<div class="section" id="version-0-11-10">
<h2>Version 0.11.10<a class="headerlink" href="#version-0-11-10" title="Permalink to this headline">¶</a></h2>
<p>Released on May 24th 2016.</p>
<ul class="simple">
<li>Fixed a bug that occurs when running on Python 2.6 and using a broken locale.
See pull request #912.</li>
<li>Fixed a crash when running the debugger on Google App Engine. See issue #925.</li>
<li>Fixed an issue with multipart parsing that could cause memory exhaustion.</li>
</ul>
</div>
<div class="section" id="version-0-11-9">
<h2>Version 0.11.9<a class="headerlink" href="#version-0-11-9" title="Permalink to this headline">¶</a></h2>
<p>Released on April 24th 2016.</p>
<ul class="simple">
<li>Corrected an issue that caused the debugger not to use the
machine GUID on POSIX systems.</li>
<li>Corrected a Unicode error on Python 3 for the debugger’s
PIN usage.</li>
<li>Corrected the timestamp verification in the pin debug code.
Without this fix the pin was remembered for too long.</li>
</ul>
</div>
<div class="section" id="version-0-11-8">
<h2>Version 0.11.8<a class="headerlink" href="#version-0-11-8" title="Permalink to this headline">¶</a></h2>
<p>Released on April 15th 2016.</p>
<ul class="simple">
<li>fixed a problem with the machine GUID detection code on OS X
on Python 3.</li>
</ul>
</div>
<div class="section" id="version-0-11-7">
<h2>Version 0.11.7<a class="headerlink" href="#version-0-11-7" title="Permalink to this headline">¶</a></h2>
<p>Released on April 14th 2016.</p>
<ul class="simple">
<li>fixed a regression on Python 3 for the debugger.</li>
</ul>
</div>
<div class="section" id="version-0-11-6">
<h2>Version 0.11.6<a class="headerlink" href="#version-0-11-6" title="Permalink to this headline">¶</a></h2>
<p>Released on April 14th 2016.</p>
<ul class="simple">
<li>werkzeug.serving: Still show the client address on bad requests.</li>
<li>improved the PIN based protection for the debugger to make it harder to
brute force via trying cookies.  Please keep in mind that the debugger
<em>is not intended for running on production environments</em></li>
<li>increased the pin timeout to a week to make it less annoying for people
which should decrease the chance that users disable the pin check
entirely.</li>
<li>werkzeug.serving: Fix broken HTTP_HOST when path starts with double slash.</li>
</ul>
</div>
<div class="section" id="version-0-11-5">
<h2>Version 0.11.5<a class="headerlink" href="#version-0-11-5" title="Permalink to this headline">¶</a></h2>
<p>Released on March 22nd 2016.</p>
<ul class="simple">
<li>werkzeug.serving: Fix crash when attempting SSL connection to HTTP server.</li>
</ul>
</div>
<div class="section" id="version-0-11-4">
<h2>Version 0.11.4<a class="headerlink" href="#version-0-11-4" title="Permalink to this headline">¶</a></h2>
<p>Released on February 14th 2016.</p>
<ul class="simple">
<li>Fixed werkzeug.serving not working from -m flag.</li>
<li>Fixed incorrect weak etag handling.</li>
</ul>
</div>
<div class="section" id="version-0-11-3">
<h2>Version 0.11.3<a class="headerlink" href="#version-0-11-3" title="Permalink to this headline">¶</a></h2>
<p>Released on December 20th 2015.</p>
<ul class="simple">
<li>Fixed an issue with copy operations not working against
proxies.</li>
<li>Changed the logging operations of the development server to
correctly log where the server is running in all situations
again.</li>
<li>Fixed another regression with SSL wrapping similar to the
fix in 0.11.2 but for a different code path.</li>
</ul>
</div>
<div class="section" id="version-0-11-2">
<h2>Version 0.11.2<a class="headerlink" href="#version-0-11-2" title="Permalink to this headline">¶</a></h2>
<p>Released on November 12th 2015.</p>
<ul class="simple">
<li>Fix inheritable sockets on Windows on Python 3.</li>
<li>Fixed an issue with the forking server not starting any longer.</li>
<li>Fixed SSL wrapping on platforms that supported opening sockets
by file descriptor.</li>
<li>No longer log from the watchdog reloader.</li>
<li>Unicode errors in hosts are now better caught or converted into
bad request errors.</li>
</ul>
</div>
<div class="section" id="version-0-11-1">
<h2>Version 0.11.1<a class="headerlink" href="#version-0-11-1" title="Permalink to this headline">¶</a></h2>
<p>Released on November 10th 2015.</p>
<ul class="simple">
<li>Fixed a regression on Python 3 in the debugger.</li>
</ul>
</div>
<div class="section" id="version-0-11">
<h2>Version 0.11<a class="headerlink" href="#version-0-11" title="Permalink to this headline">¶</a></h2>
<p>Released on November 8th 2015, codename Gleisbaumaschine.</p>
<ul class="simple">
<li>Added <code class="docutils literal notranslate"><span class="pre">reloader_paths</span></code> option to <code class="docutils literal notranslate"><span class="pre">run_simple</span></code> and other functions in
<code class="docutils literal notranslate"><span class="pre">werkzeug.serving</span></code>. This allows the user to completely override the Python
module watching of Werkzeug with custom paths.</li>
<li>Many custom cached properties of Werkzeug’s classes are now subclasses of
Python’s <code class="docutils literal notranslate"><span class="pre">property</span></code> type (issue <code class="docutils literal notranslate"><span class="pre">#616</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">bind_to_environ</span></code> now doesn’t differentiate between implicit and explicit
default port numbers in <code class="docutils literal notranslate"><span class="pre">HTTP_HOST</span></code> (pull request <code class="docutils literal notranslate"><span class="pre">#204</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">BuildErrors</span></code> are now more informative. They come with a complete sentence
as error message, and also provide suggestions (pull request <code class="docutils literal notranslate"><span class="pre">#691</span></code>).</li>
<li>Fix a bug in the user agent parser where Safari’s build number instead of
version would be extracted (pull request <code class="docutils literal notranslate"><span class="pre">#703</span></code>).</li>
<li>Fixed issue where RedisCache set_many was broken for twemproxy, which doesn’t
support the default MULTI command (pull request <code class="docutils literal notranslate"><span class="pre">#702</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">mimetype</span></code> parameters on request and response classes are now always
converted to lowercase.</li>
<li>Changed cache so that cache never expires if timeout is 0. This also fixes
an issue with redis setex (issue <code class="docutils literal notranslate"><span class="pre">#550</span></code>)</li>
<li>Werkzeug now assumes <code class="docutils literal notranslate"><span class="pre">UTF-8</span></code> as filesystem encoding on Unix if Python
detected it as ASCII.</li>
<li>New optional <cite>has</cite> method on caches.</li>
<li>Fixed various bugs in <cite>parse_options_header</cite> (pull request <code class="docutils literal notranslate"><span class="pre">#643</span></code>).</li>
<li>If the reloader is enabled the server will now open the socket in the parent
process if this is possible.  This means that when the reloader kicks in
the connection from client will wait instead of tearing down.  This does
not work on all Python versions.</li>
<li>Implemented PIN based authentication for the debugger.  This can optionally
be disabled but is discouraged.  This change was necessary as it has been
discovered that too many people run the debugger in production.</li>
<li>Devserver no longer requires SSL module to be installed.</li>
</ul>
</div>
<div class="section" id="version-0-10-5">
<h2>Version 0.10.5<a class="headerlink" href="#version-0-10-5" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, release date yet to be decided)</p>
<ul class="simple">
<li>Reloader: Correctly detect file changes made by moving temporary files over
the original, which is e.g. the case with PyCharm (pull request <code class="docutils literal notranslate"><span class="pre">#722</span></code>).</li>
<li>Fix bool behavior of <code class="docutils literal notranslate"><span class="pre">werkzeug.datastructures.ETags</span></code> under Python 3 (issue
<code class="docutils literal notranslate"><span class="pre">#744</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-10-4">
<h2>Version 0.10.4<a class="headerlink" href="#version-0-10-4" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on March 26th 2015)</p>
<ul class="simple">
<li>Re-release of 0.10.3 with packaging artifacts manually removed.</li>
</ul>
</div>
<div class="section" id="version-0-10-3">
<h2>Version 0.10.3<a class="headerlink" href="#version-0-10-3" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on March 26th 2015)</p>
<ul class="simple">
<li>Re-release of 0.10.2 without packaging artifacts.</li>
</ul>
</div>
<div class="section" id="version-0-10-2">
<h2>Version 0.10.2<a class="headerlink" href="#version-0-10-2" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on March 26th 2015)</p>
<ul class="simple">
<li>Fixed issue where <code class="docutils literal notranslate"><span class="pre">empty</span></code> could break third-party libraries that relied on
keyword arguments (pull request <code class="docutils literal notranslate"><span class="pre">#675</span></code>)</li>
<li>Improved <code class="docutils literal notranslate"><span class="pre">Rule.empty</span></code> by providing a <code class="docutils literal notranslate"><span class="pre">`get_empty_kwargs</span></code> to allow setting
custom kwargs without having to override entire <code class="docutils literal notranslate"><span class="pre">empty</span></code> method. (pull
request <code class="docutils literal notranslate"><span class="pre">#675</span></code>)</li>
<li>Fixed <code class="docutils literal notranslate"><span class="pre">`extra_files`</span></code> parameter for reloader to not cause startup
to crash when included in server params</li>
<li>Using <cite>MultiDict</cite> when building URLs is now not supported again. The behavior
introduced several regressions.</li>
<li>Fix performance problems with stat-reloader (pull request <code class="docutils literal notranslate"><span class="pre">#715</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-10-1">
<h2>Version 0.10.1<a class="headerlink" href="#version-0-10-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on February 3rd 2015)</p>
<ul class="simple">
<li>Fixed regression with multiple query values for URLs (pull request <code class="docutils literal notranslate"><span class="pre">#667</span></code>).</li>
<li>Fix issues with eventlet’s monkeypatching and the builtin server (pull
request <code class="docutils literal notranslate"><span class="pre">#663</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-10">
<h2>Version 0.10<a class="headerlink" href="#version-0-10" title="Permalink to this headline">¶</a></h2>
<p>Released on January 30th 2015, codename Bagger.</p>
<ul class="simple">
<li>Changed the error handling of and improved testsuite for the caches in
<code class="docutils literal notranslate"><span class="pre">contrib.cache</span></code>.</li>
<li>Fixed a bug on Python 3 when creating adhoc ssl contexts, due to <cite>sys.maxint</cite>
not being defined.</li>
<li>Fixed a bug on Python 3, that caused
<a class="reference internal" href="../serving/index.html#werkzeug.serving.make_ssl_devcert" title="werkzeug.serving.make_ssl_devcert"><code class="xref py py-func docutils literal notranslate"><span class="pre">make_ssl_devcert()</span></code></a> to fail with an exception.</li>
<li>Added exceptions for 504 and 505.</li>
<li>Added support for ChromeOS detection.</li>
<li>Added UUID converter to the routing system.</li>
<li>Added message that explains how to quit the server.</li>
<li>Fixed a bug on Python 2, that caused <code class="docutils literal notranslate"><span class="pre">len</span></code> for
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.CombinedMultiDict" title="werkzeug.datastructures.CombinedMultiDict"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.datastructures.CombinedMultiDict</span></code></a> to crash.</li>
<li>Added support for stdlib pbkdf2 hmac if a compatible digest
is found.</li>
<li>Ported testsuite to use <code class="docutils literal notranslate"><span class="pre">py.test</span></code>.</li>
<li>Minor optimizations to various middlewares (pull requests <code class="docutils literal notranslate"><span class="pre">#496</span></code> and
<code class="docutils literal notranslate"><span class="pre">#571</span></code>).</li>
<li>Use stdlib <code class="docutils literal notranslate"><span class="pre">ssl</span></code> module instead of <code class="docutils literal notranslate"><span class="pre">OpenSSL</span></code> for the builtin server
(issue <code class="docutils literal notranslate"><span class="pre">#434</span></code>). This means that OpenSSL contexts are not supported anymore,
but instead <code class="docutils literal notranslate"><span class="pre">ssl.SSLContext</span></code> from the stdlib.</li>
<li>Allow protocol-relative URLs when building external URLs.</li>
<li>Fixed Atom syndication to print time zone offset for tz-aware datetime
objects (pull request <code class="docutils literal notranslate"><span class="pre">#254</span></code>).</li>
<li>Improved reloader to track added files and to recover from broken
sys.modules setups with syntax errors in packages.</li>
<li><code class="docutils literal notranslate"><span class="pre">cache.RedisCache</span></code> now supports arbitrary <code class="docutils literal notranslate"><span class="pre">**kwargs</span></code> for the redis
object.</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.test.Client</span></code> now uses the original request method when resolving
307 redirects (pull request <code class="docutils literal notranslate"><span class="pre">#556</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.datastructures.MIMEAccept</span></code> now properly deals with mimetype
parameters (pull request <code class="docutils literal notranslate"><span class="pre">#205</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.datastructures.Accept</span></code> now handles a quality of <code class="docutils literal notranslate"><span class="pre">0</span></code> as
intolerable, as per RFC 2616 (pull request <code class="docutils literal notranslate"><span class="pre">#536</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.urls.url_fix</span></code> now properly encodes hostnames with <code class="docutils literal notranslate"><span class="pre">idna</span></code>
encoding (issue <code class="docutils literal notranslate"><span class="pre">#559</span></code>). It also doesn’t crash on malformed URLs anymore
(issue <code class="docutils literal notranslate"><span class="pre">#582</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.routing.MapAdapter.match</span></code> now recognizes the difference between
the path <code class="docutils literal notranslate"><span class="pre">/</span></code> and an empty one (issue <code class="docutils literal notranslate"><span class="pre">#360</span></code>).</li>
<li>The interactive debugger now tries to decode non-ascii filenames (issue
<code class="docutils literal notranslate"><span class="pre">#469</span></code>).</li>
<li>Increased default key size of generated SSL certificates to 1024 bits (issue
<code class="docutils literal notranslate"><span class="pre">#611</span></code>).</li>
<li>Added support for specifying a <code class="docutils literal notranslate"><span class="pre">Response</span></code> subclass to use when calling
<a class="reference internal" href="../utils/index.html#werkzeug.utils.redirect" title="werkzeug.utils.redirect"><code class="xref py py-func docutils literal notranslate"><span class="pre">redirect()</span></code></a>.</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.test.EnvironBuilder</span></code> now doesn’t use the request method anymore
to guess the content type, and purely relies on the <code class="docutils literal notranslate"><span class="pre">form</span></code>, <code class="docutils literal notranslate"><span class="pre">files</span></code> and
<code class="docutils literal notranslate"><span class="pre">input_stream</span></code> properties (issue <code class="docutils literal notranslate"><span class="pre">#620</span></code>).</li>
<li>Added Symbian to the user agent platform list.</li>
<li>Fixed make_conditional to respect automatically_set_content_length</li>
<li>Unset <code class="docutils literal notranslate"><span class="pre">Content-Length</span></code> when writing to response.stream (issue <code class="docutils literal notranslate"><span class="pre">#451</span></code>)</li>
<li><code class="docutils literal notranslate"><span class="pre">wrappers.Request.method</span></code> is now always uppercase, eliminating
inconsistencies of the WSGI environment (issue <code class="docutils literal notranslate"><span class="pre">647</span></code>).</li>
<li><code class="docutils literal notranslate"><span class="pre">routing.Rule.empty</span></code> now works correctly with subclasses of <code class="docutils literal notranslate"><span class="pre">Rule</span></code> (pull
request <code class="docutils literal notranslate"><span class="pre">#645</span></code>).</li>
<li>Made map updating safe in light of concurrent updates.</li>
<li>Allow multiple values for the same field for url building (issue <code class="docutils literal notranslate"><span class="pre">#658</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-9-7">
<h2>Version 0.9.7<a class="headerlink" href="#version-0-9-7" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, release date to be decided)</p>
<ul class="simple">
<li>Fix unicode problems in <code class="docutils literal notranslate"><span class="pre">werkzeug.debug.tbtools</span></code>.</li>
<li>Fix Python 3-compatibility problems in <code class="docutils literal notranslate"><span class="pre">werkzeug.posixemulation</span></code>.</li>
<li>Backport fix of fatal typo for <code class="docutils literal notranslate"><span class="pre">ImmutableList</span></code> (issue <code class="docutils literal notranslate"><span class="pre">#492</span></code>).</li>
<li>Make creation of the cache dir for <code class="docutils literal notranslate"><span class="pre">FileSystemCache</span></code> atomic (issue
<code class="docutils literal notranslate"><span class="pre">#468</span></code>).</li>
<li>Use native strings for memcached keys to work with Python 3 client (issue
<code class="docutils literal notranslate"><span class="pre">#539</span></code>).</li>
<li>Fix charset detection for <code class="docutils literal notranslate"><span class="pre">werkzeug.debug.tbtools.Frame</span></code> objects (issues
<code class="docutils literal notranslate"><span class="pre">#547</span></code> and <code class="docutils literal notranslate"><span class="pre">#532</span></code>).</li>
<li>Fix <code class="docutils literal notranslate"><span class="pre">AttributeError</span></code> masking in <code class="docutils literal notranslate"><span class="pre">werkzeug.utils.import_string</span></code> (issue
<code class="docutils literal notranslate"><span class="pre">#182</span></code>).</li>
<li>Explicitly shut down server (issue <code class="docutils literal notranslate"><span class="pre">#519</span></code>).</li>
<li>Fix timeouts greater than 2592000 being misinterpreted as UNIX timestamps in
<code class="docutils literal notranslate"><span class="pre">werkzeug.contrib.cache.MemcachedCache</span></code> (issue <code class="docutils literal notranslate"><span class="pre">#533</span></code>).</li>
<li>Fix bug where <code class="docutils literal notranslate"><span class="pre">werkzeug.exceptions.abort</span></code> would raise an arbitrary subclass
of the expected class (issue <code class="docutils literal notranslate"><span class="pre">#422</span></code>).</li>
<li>Fix broken <code class="docutils literal notranslate"><span class="pre">jsrouting</span></code> (due to removal of <code class="docutils literal notranslate"><span class="pre">werkzeug.templates</span></code>)</li>
<li><code class="docutils literal notranslate"><span class="pre">werkzeug.urls.url_fix</span></code> now doesn’t crash on malformed URLs anymore, but
returns them unmodified. This is a cheap workaround for <code class="docutils literal notranslate"><span class="pre">#582</span></code>, the proper
fix is included in version 0.10.</li>
<li>The repr of <code class="docutils literal notranslate"><span class="pre">werkzeug.wrappers.Request</span></code> doesn’t crash on non-ASCII-values
anymore (pull request <code class="docutils literal notranslate"><span class="pre">#466</span></code>).</li>
<li>Fix bug in <code class="docutils literal notranslate"><span class="pre">cache.RedisCache</span></code> when combined with <code class="docutils literal notranslate"><span class="pre">redis.StrictRedis</span></code>
object (pull request <code class="docutils literal notranslate"><span class="pre">#583</span></code>).</li>
<li>The <code class="docutils literal notranslate"><span class="pre">qop</span></code> parameter for <code class="docutils literal notranslate"><span class="pre">WWW-Authenticate</span></code> headers is now always quoted,
as required by RFC 2617 (issue <code class="docutils literal notranslate"><span class="pre">#633</span></code>).</li>
<li>Fix bug in <code class="docutils literal notranslate"><span class="pre">werkzeug.contrib.cache.SimpleCache</span></code> with Python 3 where add/set
may throw an exception when pruning old entries from the cache (pull request
<code class="docutils literal notranslate"><span class="pre">#651</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-9-6">
<h2>Version 0.9.6<a class="headerlink" href="#version-0-9-6" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on June 7th 2014)</p>
<ul class="simple">
<li>Added a safe conversion for IRI to URI conversion and use that
internally to work around issues with spec violations for
protocols such as <code class="docutils literal notranslate"><span class="pre">itms-service</span></code>.</li>
</ul>
</div>
<div class="section" id="id1">
<h2>Version 0.9.7<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Fixed uri_to_iri() not re-encoding hashes in query string parameters.</li>
</ul>
</div>
<div class="section" id="version-0-9-5">
<h2>Version 0.9.5<a class="headerlink" href="#version-0-9-5" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on June 7th 2014)</p>
<ul class="simple">
<li>Forward charset argument from request objects to the environ
builder.</li>
<li>Fixed error handling for missing boundaries in multipart data.</li>
<li>Fixed session creation on systems without <code class="docutils literal notranslate"><span class="pre">os.urandom()</span></code>.</li>
<li>Fixed pluses in dictionary keys not being properly URL encoded.</li>
<li>Fixed a problem with deepcopy not working for multi dicts.</li>
<li>Fixed a double quoting issue on redirects.</li>
<li>Fixed a problem with unicode keys appearing in headers on 2.x.</li>
<li>Fixed a bug with unicode strings in the test builder.</li>
<li>Fixed a unicode bug on Python 3 in the WSGI profiler.</li>
<li>Fixed an issue with the safe string compare function on
Python 2.7.7 and Python 3.4.</li>
</ul>
</div>
<div class="section" id="version-0-9-4">
<h2>Version 0.9.4<a class="headerlink" href="#version-0-9-4" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on August 26th 2013)</p>
<ul class="simple">
<li>Fixed an issue with Python 3.3 and an edge case in cookie parsing.</li>
<li>Fixed decoding errors not handled properly through the WSGI
decoding dance.</li>
<li>Fixed URI to IRI conversion incorrectly decoding percent signs.</li>
</ul>
</div>
<div class="section" id="version-0-9-3">
<h2>Version 0.9.3<a class="headerlink" href="#version-0-9-3" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on July 25th 2013)</p>
<ul>
<li><p class="first">Restored behavior of the <code class="docutils literal notranslate"><span class="pre">data</span></code> descriptor of the request class to pre 0.9
behavior.  This now also means that <code class="docutils literal notranslate"><span class="pre">.data</span></code> and <code class="docutils literal notranslate"><span class="pre">.get_data()</span></code> have
different behavior.  New code should use <code class="docutils literal notranslate"><span class="pre">.get_data()</span></code> always.</p>
<p>In addition to that there is now a flag for the <code class="docutils literal notranslate"><span class="pre">.get_data()</span></code> method that
controls what should happen with form data parsing and the form parser will
honor cached data.  This makes dealing with custom form data more consistent.</p>
</li>
</ul>
</div>
<div class="section" id="version-0-9-2">
<h2>Version 0.9.2<a class="headerlink" href="#version-0-9-2" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on July 18th 2013)</p>
<ul class="simple">
<li>Added <cite>unsafe</cite> parameter to <a class="reference internal" href="../urls/index.html#werkzeug.urls.url_quote" title="werkzeug.urls.url_quote"><code class="xref py py-func docutils literal notranslate"><span class="pre">url_quote()</span></code></a>.</li>
<li>Fixed an issue with <a class="reference internal" href="../urls/index.html#werkzeug.urls.url_quote_plus" title="werkzeug.urls.url_quote_plus"><code class="xref py py-func docutils literal notranslate"><span class="pre">url_quote_plus()</span></code></a> not quoting
<cite>‘+’</cite> correctly.</li>
<li>Ported remaining parts of <code class="xref py py-class docutils literal notranslate"><span class="pre">RedisCache</span></code> to
Python 3.3.</li>
<li>Ported remaining parts of <code class="xref py py-class docutils literal notranslate"><span class="pre">MemcachedCache</span></code> to
Python 3.3</li>
<li>Fixed a deprecation warning in the contrib atom module.</li>
<li>Fixed a regression with setting of content types through the
headers dictionary instead with the content type parameter.</li>
<li>Use correct name for stdlib secure string comparison function.</li>
<li>Fixed a wrong reference in the docstring of
<a class="reference internal" href="../local/index.html#werkzeug.local.release_local" title="werkzeug.local.release_local"><code class="xref py py-func docutils literal notranslate"><span class="pre">release_local()</span></code></a>.</li>
<li>Fixed an <cite>AttributeError</cite> that sometimes occurred when accessing the
<a class="reference internal" href="../wrappers/index.html#werkzeug.wrappers.BaseResponse.is_streamed" title="werkzeug.wrappers.BaseResponse.is_streamed"><code class="xref py py-attr docutils literal notranslate"><span class="pre">werkzeug.wrappers.BaseResponse.is_streamed</span></code></a> attribute.</li>
</ul>
</div>
<div class="section" id="version-0-9-1">
<h2>Version 0.9.1<a class="headerlink" href="#version-0-9-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on June 14th 2013)</p>
<ul class="simple">
<li>Fixed an issue with integers no longer being accepted in certain
parts of the routing system or URL quoting functions.</li>
<li>Fixed an issue with <cite>url_quote</cite> not producing the right escape
codes for single digit codepoints.</li>
<li>Fixed an issue with <code class="xref py py-class docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code> not
reading the path correctly and breaking on etag generation in some
cases.</li>
<li>Properly handle <cite>Expect: 100-continue</cite> in the development server
to resolve issues with curl.</li>
<li>Automatically exhaust the input stream on request close.  This should
fix issues where not touching request files results in a timeout.</li>
<li>Fixed exhausting of streams not doing anything if a non-limited
stream was passed into the multipart parser.</li>
<li>Raised the buffer sizes for the multipart parser.</li>
</ul>
</div>
<div class="section" id="version-0-9">
<h2>Version 0.9<a class="headerlink" href="#version-0-9" title="Permalink to this headline">¶</a></h2>
<p>Released on June 13nd 2013, codename Planierraupe.</p>
<ul class="simple">
<li>Added support for <a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.LimitedStream.tell" title="werkzeug.wsgi.LimitedStream.tell"><code class="xref py py-meth docutils literal notranslate"><span class="pre">tell()</span></code></a>
on the limited stream.</li>
<li><a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.ETags" title="werkzeug.datastructures.ETags"><code class="xref py py-class docutils literal notranslate"><span class="pre">ETags</span></code></a> now is nonzero if it
contains at least one etag of any kind, including weak ones.</li>
<li>Added a workaround for a bug in the stdlib for SSL servers.</li>
<li>Improved SSL interface of the devserver so that it can generate
certificates easily and load them from files.</li>
<li>Refactored test client to invoke the open method on the class
for redirects.  This makes subclassing more powerful.</li>
<li><a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.make_chunk_iter" title="werkzeug.wsgi.make_chunk_iter"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.wsgi.make_chunk_iter()</span></code></a> and
<a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.make_line_iter" title="werkzeug.wsgi.make_line_iter"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.wsgi.make_line_iter()</span></code></a> now support processing of
iterators and streams.</li>
<li>URL generation by the routing system now no longer quotes
<code class="docutils literal notranslate"><span class="pre">+</span></code>.</li>
<li>URL fixing now no longer quotes certain reserved characters.</li>
<li>The <a class="reference internal" href="../utils/index.html#werkzeug.security.generate_password_hash" title="werkzeug.security.generate_password_hash"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.security.generate_password_hash()</span></code></a> and
check functions now support any of the hashlib algorithms.</li>
<li><cite>wsgi.get_current_url</cite> is now ascii safe for browsers sending
non-ascii data in query strings.</li>
<li>improved parsing behavior for <a class="reference internal" href="../http/index.html#werkzeug.http.parse_options_header" title="werkzeug.http.parse_options_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.http.parse_options_header()</span></code></a></li>
<li>added more operators to local proxies.</li>
<li>added a hook to override the default converter in the routing
system.</li>
<li>The description field of HTTP exceptions is now always escaped.
Use markup objects to disable that.</li>
<li>Added number of proxy argument to the proxy fix to make it more
secure out of the box on common proxy setups.  It will by default
no longer trust the x-forwarded-for header as much as it did
before.</li>
<li>Added support for fragment handling in URI/IRI functions.</li>
<li>Added custom class support for <a class="reference internal" href="../http/index.html#werkzeug.http.parse_dict_header" title="werkzeug.http.parse_dict_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.http.parse_dict_header()</span></code></a>.</li>
<li>Renamed <cite>LighttpdCGIRootFix</cite> to <cite>CGIRootFix</cite>.</li>
<li>Always treat <cite>+</cite> as safe when fixing URLs as people love misusing them.</li>
<li>Added support to profiling into directories in the contrib profiler.</li>
<li>The escape function now by default escapes quotes.</li>
<li>Changed repr of exceptions to be less magical.</li>
<li>Simplified exception interface to no longer require environments
to be passed to receive the response object.</li>
<li>Added sentinel argument to IterIO objects.</li>
<li>Added pbkdf2 support for the security module.</li>
<li>Added a plain request type that disables all form parsing to only
leave the stream behind.</li>
<li>Removed support for deprecated <cite>fix_headers</cite>.</li>
<li>Removed support for deprecated <cite>header_list</cite>.</li>
<li>Removed support for deprecated parameter for <cite>iter_encoded</cite>.</li>
<li>Removed support for deprecated non-silent usage of the limited
stream object.</li>
<li>Removed support for previous dummy <cite>writable</cite> parameter on
the cached property.</li>
<li>Added support for explicitly closing request objects to close
associated resources.</li>
<li>Conditional request handling or access to the data property on responses no
longer ignores direct passthrough mode.</li>
<li>Removed werkzeug.templates and werkzeug.contrib.kickstart.</li>
<li>Changed host lookup logic for forwarded hosts to allow lists of
hosts in which case only the first one is picked up.</li>
<li>Added <cite>wsgi.get_query_string</cite>, <cite>wsgi.get_path_info</cite> and
<cite>wsgi.get_script_name</cite> and made the <cite>wsgi.pop_path_info</cite> and
<cite>wsgi.peek_path_info</cite> functions perform unicode decoding.  This
was necessary to avoid having to expose the WSGI encoding dance
on Python 3.</li>
<li>Added <cite>content_encoding</cite> and <cite>content_md5</cite> to the request object’s
common request descriptor mixin.</li>
<li>added <cite>options</cite> and <cite>trace</cite> to the test client.</li>
<li>Overhauled the utilization of the input stream to be easier to use
and better to extend.  The detection of content payload on the input
side is now more compliant with HTTP by detecting off the content
type header instead of the request method.  This also now means that
the stream property on the request class is always available instead
of just when the parsing fails.</li>
<li>Added support for using <a class="reference internal" href="../wrappers/index.html#werkzeug.wrappers.BaseResponse" title="werkzeug.wrappers.BaseResponse"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.wrappers.BaseResponse</span></code></a> in a with
statement.</li>
<li>Changed <cite>get_app_iter</cite> to fetch the response early so that it does not
fail when wrapping a response iterable.  This makes filtering easier.</li>
<li>Introduced <cite>get_data</cite> and <cite>set_data</cite> methods for responses.</li>
<li>Introduced <cite>get_data</cite> for requests.</li>
<li>Soft deprecated the <cite>data</cite> descriptors for request and response objects.</li>
<li>Added <cite>as_bytes</cite> operations to some of the headers to simplify working
with things like cookies.</li>
<li>Made the debugger paste tracebacks into github’s gist service as
private pastes.</li>
</ul>
</div>
<div class="section" id="version-0-8-4">
<h2>Version 0.8.4<a class="headerlink" href="#version-0-8-4" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, release date to be announced)</p>
<ul class="simple">
<li>Added a favicon to the debugger which fixes problem with
state changes being triggered through a request to
/favicon.ico in Google Chrome.  This should fix some
problems with Flask and other frameworks that use
context local objects on a stack with context preservation
on errors.</li>
<li>Fixed an issue with scrolling up in the debugger.</li>
<li>Fixed an issue with debuggers running on a different URL
than the URL root.</li>
<li>Fixed a problem with proxies not forwarding some rarely
used special methods properly.</li>
<li>Added a workaround to prevent the XSS protection from Chrome
breaking the debugger.</li>
<li>Skip redis tests if redis is not running.</li>
<li>Fixed a typo in the multipart parser that caused content-type
to not be picked up properly.</li>
</ul>
</div>
<div class="section" id="version-0-8-3">
<h2>Version 0.8.3<a class="headerlink" href="#version-0-8-3" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on February 5th 2012)</p>
<ul class="simple">
<li>Fixed another issue with <a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.make_line_iter" title="werkzeug.wsgi.make_line_iter"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.wsgi.make_line_iter()</span></code></a>
where lines longer than the buffer size were not handled
properly.</li>
<li>Restore stdout after debug console finished executing so
that the debugger can be used on GAE better.</li>
<li>Fixed a bug with the redis cache for int subclasses
(affects bool caching).</li>
<li>Fixed an XSS problem with redirect targets coming from
untrusted sources.</li>
<li>Redis cache backend now supports password authentication.</li>
</ul>
</div>
<div class="section" id="version-0-8-2">
<h2>Version 0.8.2<a class="headerlink" href="#version-0-8-2" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on December 16th 2011)</p>
<ul class="simple">
<li>Fixed a problem with request handling of the builtin server
not responding to socket errors properly.</li>
<li>The routing request redirect exception’s code attribute is now
used properly.</li>
<li>Fixed a bug with shutdowns on Windows.</li>
<li>Fixed a few unicode issues with non-ascii characters being
hardcoded in URL rules.</li>
<li>Fixed two property docstrings being assigned to fdel instead
of <code class="docutils literal notranslate"><span class="pre">__doc__</span></code>.</li>
<li>Fixed an issue where CRLF line endings could be split into two
by the line iter function, causing problems with multipart file
uploads.</li>
</ul>
</div>
<div class="section" id="version-0-8-1">
<h2>Version 0.8.1<a class="headerlink" href="#version-0-8-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on September 30th 2011)</p>
<ul class="simple">
<li>Fixed an issue with the memcache not working properly.</li>
<li>Fixed an issue for Python 2.7.1 and higher that broke
copying of multidicts with <a class="reference external" href="https://docs.python.org/3/library/copy.html#copy.copy" title="(in Python v3.8)"><code class="xref py py-func docutils literal notranslate"><span class="pre">copy.copy()</span></code></a>.</li>
<li>Changed hashing methodology of immutable ordered multi dicts
for a potential problem with alternative Python implementations.</li>
</ul>
</div>
<div class="section" id="version-0-8">
<h2>Version 0.8<a class="headerlink" href="#version-0-8" title="Permalink to this headline">¶</a></h2>
<p>Released on September 29th 2011, codename Lötkolben</p>
<ul class="simple">
<li>Removed data structure specific KeyErrors for a general
purpose <a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.BadRequestKeyError" title="werkzeug.exceptions.BadRequestKeyError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">BadRequestKeyError</span></code></a>.</li>
<li>Documented <code class="xref py py-meth docutils literal notranslate"><span class="pre">werkzeug.wrappers.BaseRequest._load_form_data()</span></code>.</li>
<li>The routing system now also accepts strings instead of
dictionaries for the <cite>query_args</cite> parameter since we’re only
passing them through for redirects.</li>
<li>Werkzeug now automatically sets the content length immediately when
the <a class="reference internal" href="../wrappers/index.html#werkzeug.wrappers.BaseResponse.data" title="werkzeug.wrappers.BaseResponse.data"><code class="xref py py-attr docutils literal notranslate"><span class="pre">data</span></code></a> attribute is set
for efficiency and simplicity reasons.</li>
<li>The routing system will now normalize server names to lowercase.</li>
<li>The routing system will no longer raise ValueErrors in case the
configuration for the server name was incorrect.  This should make
deployment much easier because you can ignore that factor now.</li>
<li>Fixed a bug with parsing HTTP digest headers.  It rejected headers
with missing nc and nonce params.</li>
<li>Proxy fix now also updates wsgi.url_scheme based on X-Forwarded-Proto.</li>
<li>Added support for key prefixes to the redis cache.</li>
<li>Added the ability to suppress some auto corrections in the wrappers
that are now controlled via <cite>autocorrect_location_header</cite> and
<cite>automatically_set_content_length</cite> on the response objects.</li>
<li>Werkzeug now uses a new method to check that the length of incoming
data is complete and will raise IO errors by itself if the server
fails to do so.</li>
<li><a class="reference internal" href="../wsgi/index.html#werkzeug.wsgi.make_line_iter" title="werkzeug.wsgi.make_line_iter"><code class="xref py py-func docutils literal notranslate"><span class="pre">make_line_iter()</span></code></a> now requires a limit that is
not higher than the length the stream can provide.</li>
<li>Refactored form parsing into a form parser class that makes it possible
to hook into individual parts of the parsing process for debugging and
extending.</li>
<li>For conditional responses the content length is no longer set when it
is already there and added if missing.</li>
<li>Immutable datastructures are hashable now.</li>
<li>Headers datastructure no longer allows newlines in values to avoid
header injection attacks.</li>
<li>Made it possible through subclassing to select a different remote
addr in the proxy fix.</li>
<li>Added stream based URL decoding.  This reduces memory usage on large
transmitted form data that is URL decoded since Werkzeug will no longer
load all the unparsed data into memory.</li>
<li>Memcache client now no longer uses the buggy cmemcache module and
supports pylibmc.  GAE is not tried automatically and the dedicated
class is no longer necessary.</li>
<li>Redis cache now properly serializes data.</li>
<li>Removed support for Python 2.4</li>
</ul>
</div>
<div class="section" id="version-0-7-2">
<h2>Version 0.7.2<a class="headerlink" href="#version-0-7-2" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on September 30th 2011)</p>
<ul class="simple">
<li>Fixed a CSRF problem with the debugger.</li>
<li>The debugger is now generating private pastes on lodgeit.</li>
<li>If URL maps are now bound to environments the query arguments
are properly decoded from it for redirects.</li>
</ul>
</div>
<div class="section" id="version-0-7-1">
<h2>Version 0.7.1<a class="headerlink" href="#version-0-7-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on July 26th 2011)</p>
<ul class="simple">
<li>Fixed a problem with newer versions of IPython.</li>
<li>Disabled pyinotify based reloader which does not work reliably.</li>
</ul>
</div>
<div class="section" id="version-0-7">
<h2>Version 0.7<a class="headerlink" href="#version-0-7" title="Permalink to this headline">¶</a></h2>
<p>Released on July 24th 2011, codename Schraubschlüssel</p>
<ul class="simple">
<li>Add support for python-libmemcached to the Werkzeug cache abstraction
layer.</li>
<li>Improved <code class="xref py py-func docutils literal notranslate"><span class="pre">url_decode()</span></code> and <code class="xref py py-func docutils literal notranslate"><span class="pre">url_encode()</span></code> performance.</li>
<li>Fixed an issue where the SharedDataMiddleware could cause an
internal server error on weird paths when loading via pkg_resources.</li>
<li>Fixed an URL generation bug that caused URLs to be invalid if a
generated component contains a colon.</li>
<li><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.import_string()</span></code> now works with partially set up
packages properly.</li>
<li>Disabled automatic socket switching for IPv6 on the development
server due to problems it caused.</li>
<li>Werkzeug no longer overrides the Date header when creating a
conditional HTTP response.</li>
<li>The routing system provides a method to retrieve the matching
methods for a given path.</li>
<li>The routing system now accepts a parameter to change the encoding
error behaviour.</li>
<li>The local manager can now accept custom ident functions in the
constructor that are forwarded to the wrapped local objects.</li>
<li>url_unquote_plus now accepts unicode strings again.</li>
<li>Fixed an issue with the filesystem session support’s prune
function and concurrent usage.</li>
<li>Fixed a problem with external URL generation discarding the port.</li>
<li>Added support for pylibmc to the Werkzeug cache abstraction layer.</li>
<li>Fixed an issue with the new multipart parser that happened when
a linebreak happened to be on the chunk limit.</li>
<li>Cookies are now set properly if ports are in use.  A runtime error
is raised if one tries to set a cookie for a domain without a dot.</li>
<li>Fixed an issue with Template.from_file not working for file
descriptors.</li>
<li>Reloader can now use inotify to track reloads.  This requires the
pyinotify library to be installed.</li>
<li>Werkzeug debugger can now submit to custom lodgeit installations.</li>
<li>redirect function’s status code assertion now allows 201 to be used
as redirection code.  While it’s not a real redirect, it shares
enough with redirects for the function to still be useful.</li>
<li>Fixed securecookie for pypy.</li>
<li>Fixed <cite>ValueErrors</cite> being raised on calls to <cite>best_match</cite> on
<cite>MIMEAccept</cite> objects when invalid user data was supplied.</li>
<li>Deprecated <cite>werkzeug.contrib.kickstart</cite> and <cite>werkzeug.contrib.testtools</cite></li>
<li>URL routing now can be passed the URL arguments to keep them for
redirects.  In the future matching on URL arguments might also be
possible.</li>
<li>Header encoding changed from utf-8 to latin1 to support a port to
Python 3.  Bytestrings passed to the object stay untouched which
makes it possible to have utf-8 cookies.  This is a part where
the Python 3 version will later change in that it will always
operate on latin1 values.</li>
<li>Fixed a bug in the form parser that caused the last character to
be dropped off if certain values in multipart data are used.</li>
<li>Multipart parser now looks at the part-individual content type
header to override the global charset.</li>
<li>Introduced mimetype and mimetype_params attribute for the file
storage object.</li>
<li>Changed FileStorage filename fallback logic to skip special filenames
that Python uses for marking special files like stdin.</li>
<li>Introduced more HTTP exception classes.</li>
<li><cite>call_on_close</cite> now can be used as a decorator.</li>
<li>Support for redis as cache backend.</li>
<li>Added <cite>BaseRequest.scheme</cite>.</li>
<li>Support for the RFC 5789 PATCH method.</li>
<li>New custom routing parser and better ordering.</li>
<li>Removed support for <cite>is_behind_proxy</cite>.  Use a WSGI middleware
instead that rewrites the <cite>REMOTE_ADDR</cite> according to your setup.
Also see the <code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.contrib.fixers.ProxyFix</span></code> for
a drop-in replacement.</li>
<li>Added cookie forging support to the test client.</li>
<li>Added support for host based matching in the routing system.</li>
<li>Switched from the default ‘ignore’ to the better ‘replace’
unicode error handling mode.</li>
<li>The builtin server now adds a function named ‘werkzeug.server.shutdown’
into the WSGI env to initiate a shutdown.  This currently only works
in Python 2.6 and later.</li>
<li>Headers are now assumed to be latin1 for better compatibility with
Python 3 once we have support.</li>
<li>Added <a class="reference internal" href="../utils/index.html#werkzeug.security.safe_join" title="werkzeug.security.safe_join"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.security.safe_join()</span></code></a>.</li>
<li>Added <cite>accept_json</cite> property analogous to <cite>accept_html</cite> on the
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.MIMEAccept" title="werkzeug.datastructures.MIMEAccept"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.datastructures.MIMEAccept</span></code></a>.</li>
<li><a class="reference internal" href="../utils/index.html#werkzeug.utils.import_string" title="werkzeug.utils.import_string"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.utils.import_string()</span></code></a> now fails with much better
error messages that pinpoint to the problem.</li>
<li>Added support for parsing of the <cite>If-Range</cite> header
(<a class="reference internal" href="../http/index.html#werkzeug.http.parse_if_range_header" title="werkzeug.http.parse_if_range_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.http.parse_if_range_header()</span></code></a> and
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.IfRange" title="werkzeug.datastructures.IfRange"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.datastructures.IfRange</span></code></a>).</li>
<li>Added support for parsing of the <cite>Range</cite> header
(<a class="reference internal" href="../http/index.html#werkzeug.http.parse_range_header" title="werkzeug.http.parse_range_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.http.parse_range_header()</span></code></a> and
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.Range" title="werkzeug.datastructures.Range"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.datastructures.Range</span></code></a>).</li>
<li>Added support for parsing of the <cite>Content-Range</cite> header of responses
and provided an accessor object for it
(<a class="reference internal" href="../http/index.html#werkzeug.http.parse_content_range_header" title="werkzeug.http.parse_content_range_header"><code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.http.parse_content_range_header()</span></code></a> and
<a class="reference internal" href="../datastructures/index.html#werkzeug.datastructures.ContentRange" title="werkzeug.datastructures.ContentRange"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.datastructures.ContentRange</span></code></a>).</li>
</ul>
</div>
<div class="section" id="version-0-6-2">
<h2>Version 0.6.2<a class="headerlink" href="#version-0-6-2" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on April 23th 2010)</p>
<ul class="simple">
<li>renamed the attribute <cite>implicit_seqence_conversion</cite> attribute of the
request object to <cite>implicit_sequence_conversion</cite>.</li>
</ul>
</div>
<div class="section" id="version-0-6-1">
<h2>Version 0.6.1<a class="headerlink" href="#version-0-6-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on April 13th 2010)</p>
<ul class="simple">
<li>heavily improved local objects.  Should pick up standalone greenlet
builds now and support proxies to free callables as well.  There is
also a stacked local now that makes it possible to invoke the same
application from within itself by pushing current request/response
on top of the stack.</li>
<li>routing build method will also build non-default method rules properly
if no method is provided.</li>
<li>added proper IPv6 support for the builtin server.</li>
<li>windows specific filesystem session store fixes.
(should now be more stable under high concurrency)</li>
<li>fixed a <cite>NameError</cite> in the session system.</li>
<li>fixed a bug with empty arguments in the werkzeug.script system.</li>
<li>fixed a bug where log lines will be duplicated if an application uses
<code class="xref py py-meth docutils literal notranslate"><span class="pre">logging.basicConfig()</span></code> (#499)</li>
<li>added secure password hashing and checking functions.</li>
<li><cite>HEAD</cite> is now implicitly added as method in the routing system if
<cite>GET</cite> is present.  Not doing that was considered a bug because often
code assumed that this is the case and in web servers that do not
normalize <cite>HEAD</cite> to <cite>GET</cite> this could break <cite>HEAD</cite> requests.</li>
<li>the script support can start SSL servers now.</li>
</ul>
</div>
<div class="section" id="version-0-6">
<h2>Version 0.6<a class="headerlink" href="#version-0-6" title="Permalink to this headline">¶</a></h2>
<p>Released on Feb 19th 2010, codename Hammer.</p>
<ul class="simple">
<li>removed pending deprecations</li>
<li>sys.path is now printed from the testapp.</li>
<li>fixed an RFC 2068 incompatibility with cookie value quoting.</li>
<li>the <code class="xref py py-class docutils literal notranslate"><span class="pre">FileStorage</span></code> now gives access to the multipart headers.</li>
<li><cite>cached_property.writeable</cite> has been deprecated.</li>
<li><code class="xref py py-meth docutils literal notranslate"><span class="pre">MapAdapter.match()</span></code> now accepts a <cite>return_rule</cite> keyword argument
that returns the matched <cite>Rule</cite> instead of just the <cite>endpoint</cite></li>
<li><a class="reference internal" href="../routing/index.html#werkzeug.routing.Map.bind_to_environ" title="werkzeug.routing.Map.bind_to_environ"><code class="xref py py-meth docutils literal notranslate"><span class="pre">routing.Map.bind_to_environ()</span></code></a> raises a more correct error message
now if the map was bound to an invalid WSGI environment.</li>
<li>added support for SSL to the builtin development server.</li>
<li>Response objects are no longer modified in place when they are evaluated
as WSGI applications.  For backwards compatibility the <cite>fix_headers</cite>
function is still called in case it was overridden.
You should however change your application to use <cite>get_wsgi_headers</cite> if
you need header modifications before responses are sent as the backwards
compatibility support will go away in future versions.</li>
<li><code class="xref py py-func docutils literal notranslate"><span class="pre">append_slash_redirect()</span></code> no longer requires the QUERY_STRING to be
in the WSGI environment.</li>
<li>added <code class="xref py py-class docutils literal notranslate"><span class="pre">DynamicCharsetResponseMixin</span></code></li>
<li>added <code class="xref py py-class docutils literal notranslate"><span class="pre">DynamicCharsetRequestMixin</span></code></li>
<li>added <code class="xref py py-attr docutils literal notranslate"><span class="pre">BaseRequest.url_charset</span></code></li>
<li>request and response objects have a default <cite>__repr__</cite> now.</li>
<li>builtin data structures can be pickled now.</li>
<li>the form data parser will now look at the filename instead the
content type to figure out if it should treat the upload as regular
form data or file upload.  This fixes a bug with Google Chrome.</li>
<li>improved performance of <cite>make_line_iter</cite> and the multipart parser
for binary uploads.</li>
<li>fixed <code class="xref py py-attr docutils literal notranslate"><span class="pre">is_streamed</span></code></li>
<li>fixed a path quoting bug in <cite>EnvironBuilder</cite> that caused PATH_INFO and
SCRIPT_NAME to end up in the environ unquoted.</li>
<li><code class="xref py py-meth docutils literal notranslate"><span class="pre">werkzeug.BaseResponse.freeze()</span></code> now sets the content length.</li>
<li>for unknown HTTP methods the request stream is now always limited
instead of being empty.  This makes it easier to implement DAV
and other protocols on top of Werkzeug.</li>
<li>added <code class="xref py py-meth docutils literal notranslate"><span class="pre">werkzeug.MIMEAccept.best_match()</span></code></li>
<li>multi-value test-client posts from a standard dictionary are now
supported.  Previously you had to use a multi dict.</li>
<li>rule templates properly work with submounts, subdomains and
other rule factories now.</li>
<li>deprecated non-silent usage of the <code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.LimitedStream</span></code>.</li>
<li>added support for IRI handling to many parts of Werkzeug.</li>
<li>development server properly logs to the werkzeug logger now.</li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">werkzeug.extract_path_info()</span></code></li>
<li>fixed a querystring quoting bug in <code class="xref py py-func docutils literal notranslate"><span class="pre">url_fix()</span></code></li>
<li>added <cite>fallback_mimetype</cite> to <code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.SharedDataMiddleware</span></code>.</li>
<li>deprecated <code class="xref py py-meth docutils literal notranslate"><span class="pre">BaseResponse.iter_encoded()</span></code>’s charset parameter.</li>
<li>added <code class="xref py py-meth docutils literal notranslate"><span class="pre">BaseResponse.make_sequence()</span></code>,
<code class="xref py py-attr docutils literal notranslate"><span class="pre">BaseResponse.is_sequence</span></code> and
<code class="xref py py-meth docutils literal notranslate"><span class="pre">BaseResponse._ensure_sequence()</span></code>.</li>
<li>added better __repr__ of <code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.Map</span></code></li>
<li><cite>import_string</cite> accepts unicode strings as well now.</li>
<li>development server doesn’t break on double slashes after the host name.</li>
<li>better <cite>__repr__</cite> and <cite>__str__</cite> of
<a class="reference internal" href="../exceptions/index.html#werkzeug.exceptions.HTTPException" title="werkzeug.exceptions.HTTPException"><code class="xref py py-exc docutils literal notranslate"><span class="pre">werkzeug.exceptions.HTTPException</span></code></a></li>
<li>test client works correctly with multiple cookies now.</li>
<li>the <a class="reference internal" href="../routing/index.html#werkzeug.routing.Map" title="werkzeug.routing.Map"><code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.routing.Map</span></code></a> now has a class attribute with
the default converter mapping.  This helps subclasses to override
the converters without passing them to the constructor.</li>
<li>implemented <code class="xref py py-class docutils literal notranslate"><span class="pre">OrderedMultiDict</span></code></li>
<li>improved the session support for more efficient session storing
on the filesystem.  Also added support for listing of sessions
currently stored in the filesystem session store.</li>
<li>werkzeug no longer utilizes the Python time module for parsing
which means that dates in a broader range can be parsed.</li>
<li>the wrappers have no class attributes that make it possible to
swap out the dict and list types it uses.</li>
<li>werkzeug debugger should work on the appengine dev server now.</li>
<li>the URL builder supports dropping of unexpected arguments now.
Previously they were always appended to the URL as query string.</li>
<li>profiler now writes to the correct stream.</li>
</ul>
</div>
<div class="section" id="version-0-5-1">
<h2>Version 0.5.1<a class="headerlink" href="#version-0-5-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release for 0.5, released on July 9th 2009)</p>
<ul class="simple">
<li>fixed boolean check of <code class="xref py py-class docutils literal notranslate"><span class="pre">FileStorage</span></code></li>
<li>url routing system properly supports unicode URL rules now.</li>
<li>file upload streams no longer have to provide a truncate()
method.</li>
<li>implemented <code class="xref py py-meth docutils literal notranslate"><span class="pre">BaseRequest._form_parsing_failed()</span></code>.</li>
<li>fixed #394</li>
<li><code class="xref py py-meth docutils literal notranslate"><span class="pre">ImmutableDict.copy()</span></code>, <code class="xref py py-meth docutils literal notranslate"><span class="pre">ImmutableMultiDict.copy()</span></code> and
<code class="xref py py-meth docutils literal notranslate"><span class="pre">ImmutableTypeConversionDict.copy()</span></code> return mutable shallow
copies.</li>
<li>fixed a bug with the <cite>make_runserver</cite> script action.</li>
<li><code class="xref py py-meth docutils literal notranslate"><span class="pre">MultiDict.items()</span></code> and <code class="xref py py-meth docutils literal notranslate"><span class="pre">MutiDict.iteritems()</span></code> now accept an
argument to return a pair for each value of each key.</li>
<li>the multipart parser works better with hand-crafted multipart
requests now that have extra newlines added.  This fixes a bug
with setuptools uploads not handled properly (#390)</li>
<li>fixed some minor bugs in the atom feed generator.</li>
<li>fixed a bug with client cookie header parsing being case sensitive.</li>
<li>fixed a not-working deprecation warning.</li>
<li>fixed package loading for <code class="xref py py-class docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code>.</li>
<li>fixed a bug in the secure cookie that made server-side expiration
on servers with a local time that was not set to UTC impossible.</li>
<li>fixed console of the interactive debugger.</li>
</ul>
</div>
<div class="section" id="version-0-5">
<h2>Version 0.5<a class="headerlink" href="#version-0-5" title="Permalink to this headline">¶</a></h2>
<p>Released on April 24th, codename Schlagbohrer.</p>
<ul class="simple">
<li>requires Python 2.4 now</li>
<li>fixed a bug in <code class="xref py py-class docutils literal notranslate"><span class="pre">IterIO</span></code></li>
<li>added <code class="xref py py-class docutils literal notranslate"><span class="pre">MIMEAccept</span></code> and <code class="xref py py-class docutils literal notranslate"><span class="pre">CharsetAccept</span></code> that work like the
regular <code class="xref py py-class docutils literal notranslate"><span class="pre">Accept</span></code> but have extra special normalization for mimetypes
and charsets and extra convenience methods.</li>
<li>switched the serving system from wsgiref to something homebrew.</li>
<li>the <code class="xref py py-class docutils literal notranslate"><span class="pre">Client</span></code> now supports cookies.</li>
<li>added the <code class="xref py py-mod docutils literal notranslate"><span class="pre">fixers</span></code> module with various
fixes for webserver bugs and hosting setup side-effects.</li>
<li>added <code class="xref py py-mod docutils literal notranslate"><span class="pre">werkzeug.contrib.wrappers</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">is_hop_by_hop_header()</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">is_entity_header()</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">remove_hop_by_hop_headers()</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">pop_path_info()</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">peek_path_info()</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">wrap_file()</span></code> and <code class="xref py py-class docutils literal notranslate"><span class="pre">FileWrapper</span></code></li>
<li>moved <cite>LimitedStream</cite> from the contrib package into the regular
werkzeug one and changed the default behavior to raise exceptions
rather than stopping without warning.  The old class will stick in
the module until 0.6.</li>
<li>implemented experimental multipart parser that replaces the old CGI hack.</li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">dump_options_header()</span></code> and <code class="xref py py-func docutils literal notranslate"><span class="pre">parse_options_header()</span></code></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">quote_header_value()</span></code> and <code class="xref py py-func docutils literal notranslate"><span class="pre">unquote_header_value()</span></code></li>
<li><code class="xref py py-func docutils literal notranslate"><span class="pre">url_encode()</span></code> and <code class="xref py py-func docutils literal notranslate"><span class="pre">url_decode()</span></code> now accept a separator
argument to switch between <cite>&amp;</cite> and <cite>;</cite> as pair separator.  The magic
switch is no longer in place.</li>
<li>all form data parsing functions as well as the <code class="xref py py-class docutils literal notranslate"><span class="pre">BaseRequest</span></code>
object have parameters (or attributes) to limit the number of
incoming bytes (either totally or per field).</li>
<li>added <code class="xref py py-class docutils literal notranslate"><span class="pre">LanguageAccept</span></code></li>
<li>request objects are now enforced to be read only for all collections.</li>
<li>added many new collection classes, refactored collections in general.</li>
<li>test support was refactored, semi-undocumented <cite>werkzeug.test.File</cite>
was replaced by <code class="xref py py-class docutils literal notranslate"><span class="pre">werkzeug.FileStorage</span></code>.</li>
<li><code class="xref py py-class docutils literal notranslate"><span class="pre">EnvironBuilder</span></code> was added and unifies the previous distinct
<code class="xref py py-func docutils literal notranslate"><span class="pre">create_environ()</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">Client</span></code> and
<code class="xref py py-meth docutils literal notranslate"><span class="pre">BaseRequest.from_values()</span></code>.  They all work the same now which
is less confusing.</li>
<li>officially documented imports from the internal modules as undefined
behavior.  These modules were never exposed as public interfaces.</li>
<li>removed <cite>FileStorage.__len__</cite> which previously made the object
falsy for browsers not sending the content length which all browsers
do.</li>
<li><code class="xref py py-class docutils literal notranslate"><span class="pre">SharedDataMiddleware</span></code> uses <cite>wrap_file</cite> now and has a
configurable cache timeout.</li>
<li>added <code class="xref py py-class docutils literal notranslate"><span class="pre">CommonRequestDescriptorsMixin</span></code></li>
<li>added <code class="xref py py-attr docutils literal notranslate"><span class="pre">CommonResponseDescriptorsMixin.mimetype_params</span></code></li>
<li>added <code class="xref py py-mod docutils literal notranslate"><span class="pre">werkzeug.contrib.lint</span></code></li>
<li>added <cite>passthrough_errors</cite> to <cite>run_simple</cite>.</li>
<li>added <cite>secure_filename</cite></li>
<li>added <code class="xref py py-func docutils literal notranslate"><span class="pre">make_line_iter()</span></code></li>
<li><code class="xref py py-class docutils literal notranslate"><span class="pre">MultiDict</span></code> copies now instead of revealing internal
lists to the caller for <cite>getlist</cite> and iteration functions that
return lists.</li>
<li>added <code class="xref py py-attr docutils literal notranslate"><span class="pre">follow_redirect</span></code> to the <a class="reference external" href="https://docs.python.org/3/library/functions.html#open" title="(in Python v3.8)"><code class="xref py py-func docutils literal notranslate"><span class="pre">open()</span></code></a> of <code class="xref py py-class docutils literal notranslate"><span class="pre">Client</span></code>.</li>
<li>added support for <cite>extra_files</cite> in
<code class="xref py py-func docutils literal notranslate"><span class="pre">make_runserver()</span></code></li>
</ul>
</div>
<div class="section" id="version-0-4-1">
<h2>Version 0.4.1<a class="headerlink" href="#version-0-4-1" title="Permalink to this headline">¶</a></h2>
<p>(Bugfix release, released on January 11th 2009)</p>
<ul class="simple">
<li><cite>werkzeug.contrib.cache.Memcached</cite> accepts now objects that
implement the memcache.Client interface as alternative to a list of
strings with server addresses.
There is also now a <cite>GAEMemcachedCache</cite> that connects to the Google
appengine cache.</li>
<li>explicitly convert secret keys to bytestrings now because Python
2.6 no longer does that.</li>
<li><cite>url_encode</cite> and all interfaces that call it, support ordering of
options now which however is disabled by default.</li>
<li>the development server no longer resolves the addresses of clients.</li>
<li>Fixed a typo in <cite>werkzeug.test</cite> that broke <cite>File</cite>.</li>
<li><cite>Map.bind_to_environ</cite> uses the <cite>Host</cite> header now if available.</li>
<li>Fixed <cite>BaseCache.get_dict</cite> (#345)</li>
<li><cite>werkzeug.test.Client</cite> can now run the application buffered in which
case the application is properly closed automatically.</li>
<li>Fixed <cite>Headers.set</cite> (#354).  Caused header duplication before.</li>
<li>Fixed <cite>Headers.pop</cite> (#349).  default parameter was not properly
handled.</li>
<li>Fixed UnboundLocalError in <cite>create_environ</cite> (#351)</li>
<li><cite>Headers</cite> is more compatible with wsgiref now.</li>
<li><cite>Template.render</cite> accepts multidicts now.</li>
<li>dropped support for Python 2.3</li>
</ul>
</div>
<div class="section" id="version-0-4">
<h2>Version 0.4<a class="headerlink" href="#version-0-4" title="Permalink to this headline">¶</a></h2>
<p>Released on November 23rd 2008, codename Schraubenzieher.</p>
<ul class="simple">
<li><cite>Client</cite> supports an empty <cite>data</cite> argument now.</li>
<li>fixed a bug in <cite>Response.application</cite> that made it impossible to use it
as method decorator.</li>
<li>the session system should work on appengine now</li>
<li>the secure cookie works properly in load balanced environments with
different cpu architectures now.</li>
<li><cite>CacheControl.no_cache</cite> and <cite>CacheControl.private</cite> behavior changed to
reflect the possibilities of the HTTP RFC.  Setting these attributes to
<cite>None</cite> or <cite>True</cite> now sets the value to “the empty value”.
More details in the documentation.</li>
<li>fixed <cite>werkzeug.contrib.atom.AtomFeed.__call__</cite>. (#338)</li>
<li><cite>BaseResponse.make_conditional</cite> now always returns <cite>self</cite>.  Previously
it didn’t for post requests and such.</li>
<li>fixed a bug in boolean attribute handling of <cite>html</cite> and <cite>xhtml</cite>.</li>
<li>added graceful error handling to the debugger pastebin feature.</li>
<li>added a more list like interface to <cite>Headers</cite> (slicing and indexing
works now)</li>
<li>fixed a bug with the <cite>__setitem__</cite> method of <cite>Headers</cite> that didn’t
properly remove all keys on replacing.</li>
<li>added <cite>remove_entity_headers</cite> which removes all entity headers from
a list of headers (or a <cite>Headers</cite> object)</li>
<li>the responses now automatically call <cite>remove_entity_headers</cite> if the
status code is 304.</li>
<li>fixed a bug with <cite>Href</cite> query parameter handling.  Previously the last
item of a call to <cite>Href</cite> was not handled properly if it was a dict.</li>
<li>headers now support a <cite>pop</cite> operation to better work with environ
properties.</li>
</ul>
</div>
<div class="section" id="version-0-3-1">
<h2>Version 0.3.1<a class="headerlink" href="#version-0-3-1" title="Permalink to this headline">¶</a></h2>
<p>(bugfix release, released on June 24th 2008)</p>
<ul class="simple">
<li>fixed a security problem with <cite>werkzeug.contrib.SecureCookie</cite>.</li>
</ul>
</div>
<div class="section" id="version-0-3">
<h2>Version 0.3<a class="headerlink" href="#version-0-3" title="Permalink to this headline">¶</a></h2>
<p>Released on June 14th 2008, codename EUR325CAT6.</p>
<ul class="simple">
<li>added support for redirecting in url routing.</li>
<li>added <cite>Authorization</cite> and <cite>AuthorizationMixin</cite></li>
<li>added <cite>WWWAuthenticate</cite> and <cite>WWWAuthenticateMixin</cite></li>
<li>added <cite>parse_list_header</cite></li>
<li>added <cite>parse_dict_header</cite></li>
<li>added <cite>parse_authorization_header</cite></li>
<li>added <cite>parse_www_authenticate_header</cite></li>
<li>added <cite>_get_current_object</cite> method to <cite>LocalProxy</cite> objects</li>
<li>added <cite>parse_form_data</cite></li>
<li><cite>MultiDict</cite>, <cite>CombinedMultiDict</cite>, <cite>Headers</cite>, and <cite>EnvironHeaders</cite> raise
special key errors now that are subclasses of <cite>BadRequest</cite> so if you
don’t catch them they give meaningful HTTP responses.</li>
<li>added support for alternative encoding error handling and the new
<cite>HTTPUnicodeError</cite> which (if not caught) behaves like a <cite>BadRequest</cite>.</li>
<li>added <cite>BadRequest.wrap</cite>.</li>
<li>added ETag support to the SharedDataMiddleware and added an option
to disable caching.</li>
<li>fixed <cite>is_xhr</cite> on the request objects.</li>
<li>fixed error handling of the url adapter’s <cite>dispatch</cite> method. (#318)</li>
<li>fixed bug with <cite>SharedDataMiddleware</cite>.</li>
<li>fixed <cite>Accept.values</cite>.</li>
<li><cite>EnvironHeaders</cite> contain content-type and content-length now</li>
<li><cite>url_encode</cite> treats lists and tuples in dicts passed to it as multiple
values for the same key so that one doesn’t have to pass a <cite>MultiDict</cite>
to the function.</li>
<li>added <cite>validate_arguments</cite></li>
<li>added <cite>BaseRequest.application</cite></li>
<li>improved Python 2.3 support</li>
<li><cite>run_simple</cite> accepts <cite>use_debugger</cite> and <cite>use_evalex</cite> parameters now,
like the <cite>make_runserver</cite> factory function from the script module.</li>
<li>the <cite>environ_property</cite> is now read-only by default</li>
<li>it’s now possible to initialize requests as “shallow” requests which
causes runtime errors if the request object tries to consume the
input stream.</li>
</ul>
</div>
<div class="section" id="version-0-2">
<h2>Version 0.2<a class="headerlink" href="#version-0-2" title="Permalink to this headline">¶</a></h2>
<p>Released Feb 14th 2008, codename Faustkeil.</p>
<ul class="simple">
<li>Added <cite>AnyConverter</cite> to the routing system.</li>
<li>Added <cite>werkzeug.contrib.securecookie</cite></li>
<li>Exceptions have a <code class="docutils literal notranslate"><span class="pre">get_response()</span></code> method that return a response object</li>
<li>fixed the path ordering bug (#293), thanks Thomas Johansson</li>
<li><cite>BaseReporterStream</cite> is now part of the werkzeug contrib module.  From
Werkzeug 0.3 onwards you will have to import it from there.</li>
<li>added <cite>DispatcherMiddleware</cite>.</li>
<li><cite>RequestRedirect</cite> is now a subclass of <cite>HTTPException</cite> and uses a
301 status code instead of 302.</li>
<li><cite>url_encode</cite> and <cite>url_decode</cite> can optionally treat keys as unicode strings
now, too.</li>
<li><cite>werkzeug.script</cite> has a different caller format for boolean arguments now.</li>
<li>renamed <cite>lazy_property</cite> to <cite>cached_property</cite>.</li>
<li>added <cite>import_string</cite>.</li>
<li>added is_* properties to request objects.</li>
<li>added <cite>empty()</cite> method to routing rules.</li>
<li>added <cite>werkzeug.contrib.profiler</cite>.</li>
<li>added <cite>extends</cite> to <cite>Headers</cite>.</li>
<li>added <cite>dump_cookie</cite> and <cite>parse_cookie</cite>.</li>
<li>added <cite>as_tuple</cite> to the <cite>Client</cite>.</li>
<li>added <cite>werkzeug.contrib.testtools</cite>.</li>
<li>added <cite>werkzeug.unescape</cite></li>
<li>added <cite>BaseResponse.freeze</cite></li>
<li>added <cite>werkzeug.contrib.atom</cite></li>
<li>the HTTPExceptions accept an argument <cite>description</cite> now which overrides the
default description.</li>
<li>the <cite>MapAdapter</cite> has a default for path info now.  If you use
<cite>bind_to_environ</cite> you don’t have to pass the path later.</li>
<li>the wsgiref subclass werkzeug uses for the dev server does not use direct
sys.stderr logging any more but a logger called “werkzeug”.</li>
<li>implemented <cite>Href</cite>.</li>
<li>implemented <cite>find_modules</cite></li>
<li>refactored request and response objects into base objects, mixins and
full featured subclasses that implement all mixins.</li>
<li>added simple user agent parser</li>
<li>werkzeug’s routing raises <cite>MethodNotAllowed</cite> now if it matches a
rule but for a different method.</li>
<li>many fixes and small improvements</li>
</ul>
</div>
<div class="section" id="version-0-1">
<h2>Version 0.1<a class="headerlink" href="#version-0-1" title="Permalink to this headline">¶</a></h2>
<p>Released on Dec 9th 2007, codename Wictorinoxger.</p>
<ul class="simple">
<li>Initial release</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
  <span id="sidebar-top"></span>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  
    
            <p class="logo"><a href="../index.html">
              <img class="logo" src="../_static/werkzeug.png" alt="Logo"/>
            </a></p>
  

  <h3>Contents</h3>
  <ul>
<li><a class="reference internal" href="#">Changelog</a><ul>
<li><a class="reference internal" href="#version-1-0-2">Version 1.0.2</a></li>
<li><a class="reference internal" href="#version-1-0-1">Version 1.0.1</a></li>
<li><a class="reference internal" href="#version-1-0-0">Version 1.0.0</a></li>
<li><a class="reference internal" href="#version-0-16-1">Version 0.16.1</a></li>
<li><a class="reference internal" href="#version-0-16-0">Version 0.16.0</a></li>
<li><a class="reference internal" href="#version-0-15-6">Version 0.15.6</a></li>
<li><a class="reference internal" href="#version-0-15-5">Version 0.15.5</a></li>
<li><a class="reference internal" href="#version-0-15-4">Version 0.15.4</a></li>
<li><a class="reference internal" href="#version-0-15-3">Version 0.15.3</a></li>
<li><a class="reference internal" href="#version-0-15-2">Version 0.15.2</a></li>
<li><a class="reference internal" href="#version-0-15-1">Version 0.15.1</a></li>
<li><a class="reference internal" href="#version-0-15-0">Version 0.15.0</a></li>
<li><a class="reference internal" href="#version-0-14-1">Version 0.14.1</a></li>
<li><a class="reference internal" href="#version-0-14">Version 0.14</a></li>
<li><a class="reference internal" href="#version-0-13">Version 0.13</a></li>
<li><a class="reference internal" href="#version-0-12-2">Version 0.12.2</a></li>
<li><a class="reference internal" href="#version-0-12-1">Version 0.12.1</a></li>
<li><a class="reference internal" href="#version-0-12">Version 0.12</a></li>
<li><a class="reference internal" href="#version-0-11-16">Version 0.11.16</a></li>
<li><a class="reference internal" href="#version-0-11-15">Version 0.11.15</a></li>
<li><a class="reference internal" href="#version-0-11-14">Version 0.11.14</a></li>
<li><a class="reference internal" href="#version-0-11-13">Version 0.11.13</a></li>
<li><a class="reference internal" href="#version-0-11-12">Version 0.11.12</a></li>
<li><a class="reference internal" href="#version-0-11-11">Version 0.11.11</a></li>
<li><a class="reference internal" href="#version-0-11-10">Version 0.11.10</a></li>
<li><a class="reference internal" href="#version-0-11-9">Version 0.11.9</a></li>
<li><a class="reference internal" href="#version-0-11-8">Version 0.11.8</a></li>
<li><a class="reference internal" href="#version-0-11-7">Version 0.11.7</a></li>
<li><a class="reference internal" href="#version-0-11-6">Version 0.11.6</a></li>
<li><a class="reference internal" href="#version-0-11-5">Version 0.11.5</a></li>
<li><a class="reference internal" href="#version-0-11-4">Version 0.11.4</a></li>
<li><a class="reference internal" href="#version-0-11-3">Version 0.11.3</a></li>
<li><a class="reference internal" href="#version-0-11-2">Version 0.11.2</a></li>
<li><a class="reference internal" href="#version-0-11-1">Version 0.11.1</a></li>
<li><a class="reference internal" href="#version-0-11">Version 0.11</a></li>
<li><a class="reference internal" href="#version-0-10-5">Version 0.10.5</a></li>
<li><a class="reference internal" href="#version-0-10-4">Version 0.10.4</a></li>
<li><a class="reference internal" href="#version-0-10-3">Version 0.10.3</a></li>
<li><a class="reference internal" href="#version-0-10-2">Version 0.10.2</a></li>
<li><a class="reference internal" href="#version-0-10-1">Version 0.10.1</a></li>
<li><a class="reference internal" href="#version-0-10">Version 0.10</a></li>
<li><a class="reference internal" href="#version-0-9-7">Version 0.9.7</a></li>
<li><a class="reference internal" href="#version-0-9-6">Version 0.9.6</a></li>
<li><a class="reference internal" href="#id1">Version 0.9.7</a></li>
<li><a class="reference internal" href="#version-0-9-5">Version 0.9.5</a></li>
<li><a class="reference internal" href="#version-0-9-4">Version 0.9.4</a></li>
<li><a class="reference internal" href="#version-0-9-3">Version 0.9.3</a></li>
<li><a class="reference internal" href="#version-0-9-2">Version 0.9.2</a></li>
<li><a class="reference internal" href="#version-0-9-1">Version 0.9.1</a></li>
<li><a class="reference internal" href="#version-0-9">Version 0.9</a></li>
<li><a class="reference internal" href="#version-0-8-4">Version 0.8.4</a></li>
<li><a class="reference internal" href="#version-0-8-3">Version 0.8.3</a></li>
<li><a class="reference internal" href="#version-0-8-2">Version 0.8.2</a></li>
<li><a class="reference internal" href="#version-0-8-1">Version 0.8.1</a></li>
<li><a class="reference internal" href="#version-0-8">Version 0.8</a></li>
<li><a class="reference internal" href="#version-0-7-2">Version 0.7.2</a></li>
<li><a class="reference internal" href="#version-0-7-1">Version 0.7.1</a></li>
<li><a class="reference internal" href="#version-0-7">Version 0.7</a></li>
<li><a class="reference internal" href="#version-0-6-2">Version 0.6.2</a></li>
<li><a class="reference internal" href="#version-0-6-1">Version 0.6.1</a></li>
<li><a class="reference internal" href="#version-0-6">Version 0.6</a></li>
<li><a class="reference internal" href="#version-0-5-1">Version 0.5.1</a></li>
<li><a class="reference internal" href="#version-0-5">Version 0.5</a></li>
<li><a class="reference internal" href="#version-0-4-1">Version 0.4.1</a></li>
<li><a class="reference internal" href="#version-0-4">Version 0.4</a></li>
<li><a class="reference internal" href="#version-0-3-1">Version 0.3.1</a></li>
<li><a class="reference internal" href="#version-0-3">Version 0.3</a></li>
<li><a class="reference internal" href="#version-0-2">Version 0.2</a></li>
<li><a class="reference internal" href="#version-0-1">Version 0.1</a></li>
</ul>
</li>
</ul>
<h3>Navigation</h3>
<ul>
  <li><a href="../index.html">Overview</a>
    <ul>
          <li>Previous: <a href="../request_data/index.html" title="previous chapter">Dealing with Request Data</a>
          
    </ul>
  </li>
</ul>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="https://werkzeug.palletsprojects.com/en/1.0.x/search/" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
  
    <div class="footer" role="contentinfo">
        &#169; Copyright 2007 Pallets.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.5.
    </div>
    <script>
      if (typeof READTHEDOCS_DATA !== 'undefined') {
        if (!READTHEDOCS_DATA.features) {
          READTHEDOCS_DATA.features = {};
        }
        READTHEDOCS_DATA.features.docsearch_disabled = true;
      }
    </script>

  </body>

<!-- Mirrored from werkzeug.palletsprojects.com/en/1.0.x/changes/ by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 15 Sep 2020 06:37:09 GMT -->
</html>